From 107e3c8aa5322cc1aa34fe54fe36c34789300ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 15 Dec 2020 14:23:09 +0100 Subject: [PATCH] MainPanel: do not reset hideProcessSelection on KEY_SHUFFLE KEY_SHUFFLE might get send from time to time, e.g. in a tmux session. --- MainPanel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainPanel.c b/MainPanel.c index 5e3a54c1..97ec688b 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -51,7 +51,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { Htop_Reaction reaction = HTOP_OK; - if (ch != ERR) + if (ch != ERR && ch != /* KEY_SHUFFLE */ 0x19a) this->state->hideProcessSelection = false; if (EVENT_IS_HEADER_CLICK(ch)) {