diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-11-23 16:23:18 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-11-28 19:49:38 +0100 |
commit | 19b514168553c75a3d5a012b781efbfd00fccc08 (patch) | |
tree | e74918f4b1dad2b83b67e16cb235fc5c8b23b208 /ScreenManager.c | |
parent | ea4f33409a978140493a43567fa3a3454ab03479 (diff) |
Hide process selection on ESC
Do not highlight the current process line after pressing ESC in the main
screen.
Restore after pressing any key.
Diffstat (limited to 'ScreenManager.c')
-rw-r--r-- | ScreenManager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ScreenManager.c b/ScreenManager.c index 51ca155f..87746c7e 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -123,7 +123,7 @@ static void ScreenManager_drawPanels(ScreenManager* this, int focus) { const int nPanels = this->panelCount; for (int i = 0; i < nPanels; i++) { Panel* panel = (Panel*) Vector_get(this->panels, i); - Panel_draw(panel, i == focus); + Panel_draw(panel, i == focus, !((panel == this->state->panel) && this->state->hideProcessSelection)); mvvline(panel->y, panel->x + panel->w, ' ', panel->h + 1); } } |