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 /InfoScreen.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 'InfoScreen.c')
-rw-r--r-- | InfoScreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InfoScreen.c b/InfoScreen.c index b7cbd4c6..eaf351d3 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -55,7 +55,7 @@ void InfoScreen_drawTitled(InfoScreen* this, const char* fmt, ...) { mvwprintw(stdscr, 0, 0, title); attrset(CRT_colors[DEFAULT_COLOR]); this->display->needsRedraw = true; - Panel_draw(this->display, true); + Panel_draw(this->display, true, true); IncSet_drawBar(this->inc); free(title); va_end(ap); @@ -89,7 +89,7 @@ void InfoScreen_run(InfoScreen* this) { bool looping = true; while (looping) { - Panel_draw(panel, true); + Panel_draw(panel, true, true); if (this->inc->active) { (void) move(LINES - 1, CRT_cursorX); |