summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-01-11 13:47:33 +0100
committerDaniel Lange <DLange@git.local>2021-01-11 13:47:33 +0100
commit2ba8a81d47cca913c0947a3f3cc8fb72949d1a79 (patch)
tree21c49f76406388f0c4a8eb1eb92aafdfbef65cb4
parent1ffe5d79bd1285ee148f8dd7a95a383d83ba4473 (diff)
Fix clearing the last line in setup on function bar change (thanks cgzones)
-rw-r--r--ScreenManager.c2
1 files changed, 1 insertions, 1 deletions
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));
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy