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:
Yorhel 2009-04-19 10:06:33 +02:00
parent 6568a962bc
commit daba2128fc

View file

@ -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;