MainPanel: do not reset hideProcessSelection on KEY_SHUFFLE

KEY_SHUFFLE might get send from time to time, e.g. in a tmux session.
This commit is contained in:
Christian Göttsche 2020-12-15 14:23:09 +01:00
parent 4eeeb63647
commit 107e3c8aa5
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
Htop_Reaction reaction = HTOP_OK; Htop_Reaction reaction = HTOP_OK;
if (ch != ERR) if (ch != ERR && ch != /* KEY_SHUFFLE */ 0x19a)
this->state->hideProcessSelection = false; this->state->hideProcessSelection = false;
if (EVENT_IS_HEADER_CLICK(ch)) { if (EVENT_IS_HEADER_CLICK(ch)) {