mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
Don't quit ncdu when pressing 'q' while the info window is shown
Just hide the info window in that case.
This commit is contained in:
parent
6568a962bc
commit
daba2128fc
1 changed files with 5 additions and 1 deletions
|
|
@ -426,7 +426,11 @@ int browse_key(int ch) {
|
|||
|
||||
/* and other stuff */
|
||||
case 'q':
|
||||
return 1;
|
||||
if(flags & BF_INFO)
|
||||
nonfo++;
|
||||
else
|
||||
return 1;
|
||||
break;
|
||||
case 'g':
|
||||
if(++graph > 3)
|
||||
graph = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue