From 19b514168553c75a3d5a012b781efbfd00fccc08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 23 Nov 2020 16:23:18 +0100 Subject: Hide process selection on ESC Do not highlight the current process line after pressing ESC in the main screen. Restore after pressing any key. --- InfoScreen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'InfoScreen.c') 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); -- cgit v1.2.3