mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-15 02:08:40 -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 */
|
/* and other stuff */
|
||||||
case 'q':
|
case 'q':
|
||||||
return 1;
|
if(flags & BF_INFO)
|
||||||
|
nonfo++;
|
||||||
|
else
|
||||||
|
return 1;
|
||||||
|
break;
|
||||||
case 'g':
|
case 'g':
|
||||||
if(++graph > 3)
|
if(++graph > 3)
|
||||||
graph = 0;
|
graph = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue