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

View File

@ -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)) {