From 2ba8a81d47cca913c0947a3f3cc8fb72949d1a79 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Jan 2021 13:47:33 +0100 Subject: Fix clearing the last line in setup on function bar change (thanks cgzones) --- ScreenManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScreenManager.c b/ScreenManager.c index 51951a84..0ab5231b 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -124,7 +124,7 @@ static void ScreenManager_drawPanels(ScreenManager* this, int focus, bool force_ for (int i = 0; i < nPanels; i++) { Panel* panel = (Panel*) Vector_get(this->panels, i); Panel_draw(panel, force_redraw, i == focus, !((panel == this->state->panel) && this->state->hideProcessSelection), State_hideFunctionBar(this->state)); - mvvline(panel->y, panel->x + panel->w, ' ', panel->h); + mvvline(panel->y, panel->x + panel->w, ' ', panel->h + (State_hideFunctionBar(this->state) ? 1 : 0)); } } -- cgit v1.2.3