Avoid weird behavior when exiting help pressing keys such as F2.

This commit is contained in:
Hisham Muhammad 2014-05-03 18:08:12 -03:00
parent f54a37b4a9
commit 7f92c58916
1 changed files with 1 additions and 0 deletions

1
htop.c
View File

@ -692,6 +692,7 @@ int main(int argc, char** argv) {
{ {
showHelp(pl); showHelp(pl);
FunctionBar_draw(defaultBar, NULL); FunctionBar_draw(defaultBar, NULL);
recalculate = true;
refreshTimeout = 0; refreshTimeout = 0;
break; break;
} }