Skip to content
Snippets Groups Projects
Commit daba2128 authored by Yorhel's avatar Yorhel
Browse files

Don't quit ncdu when pressing 'q' while the info window is shown

Just hide the info window in that case.
parent 6568a962
No related branches found
No related tags found
No related merge requests found
...@@ -426,7 +426,11 @@ int browse_key(int ch) { ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment