Skip to content
Snippets Groups Projects
Commit 6f2d2583 authored by yorhel's avatar yorhel
Browse files

Pressing q while the info box is shown now hides the box, instead of quiting ncdu

git-svn-id: svn://blicky.net/ncdu/trunk@44 ce56bc8d-f834-0410-b703-f827bd498a76
parent 57be9e29
No related branches found
No related tags found
No related merge requests found
......@@ -481,7 +481,10 @@ void showBrowser(void) {
bcur = bcur->parent->sub;
break;
case 'q':
goto endloop;
if(bflags & BF_INFO)
bflags -= BF_INFO;
else
goto endloop;
}
if((last != bcur || (oldflags | BF_HIDE | BF_AS | BF_INFO) != (bflags | BF_HIDE | BF_AS | BF_INFO)) && bflags & BF_SORT)
bflags -= BF_SORT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment