Hide process selection on ESC

Do not highlight the current process line after pressing ESC in the main
screen.
Restore after pressing any key.
This commit is contained in:
Christian Göttsche
2020-11-23 16:23:18 +01:00
committed by BenBE
parent ea4f33409a
commit 19b5141685
8 changed files with 13 additions and 7 deletions

1
htop.c
View File

@ -320,6 +320,7 @@ int main(int argc, char** argv) {
.panel = (Panel*) panel,
.header = header,
.pauseProcessUpdate = false,
.hideProcessSelection = false,
};
MainPanel_setState(panel, &state);