summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-05-03 18:08:12 -0300
committerHisham Muhammad <hisham@gobolinux.org>2014-05-03 18:08:12 -0300
commit7f92c589163cacb8a0cbd881f83cdfe51d7b8a03 (patch)
tree7616c558d61f39145103e22fdfcb8cf16787197f /htop.c
parentf54a37b4a960f8651ecb6ceb532ed9cf5c4a91f1 (diff)
Avoid weird behavior when exiting help pressing keys such as F2.
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/htop.c b/htop.c
index 6b56727a..fe7390cf 100644
--- a/htop.c
+++ b/htop.c
@@ -692,6 +692,7 @@ int main(int argc, char** argv) {
{
showHelp(pl);
FunctionBar_draw(defaultBar, NULL);
+ recalculate = true;
refreshTimeout = 0;
break;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy