mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
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
This commit is contained in:
parent
57be9e2905
commit
6f2d258354
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue