diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-15 14:23:09 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-12-15 14:23:09 +0100 |
commit | 107e3c8aa5322cc1aa34fe54fe36c34789300ce8 (patch) | |
tree | bfec3cf1184fe5249a1f83acbd39c3e8a6ca3478 /MainPanel.c | |
parent | 4eeeb63647c7e32efb9c9a997f4d6479207899b9 (diff) |
MainPanel: do not reset hideProcessSelection on KEY_SHUFFLE
KEY_SHUFFLE might get send from time to time, e.g. in a tmux session.
Diffstat (limited to 'MainPanel.c')
-rw-r--r-- | MainPanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |