summaryrefslogtreecommitdiffstats
path: root/InfoScreen.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-28 23:26:14 +0100
committercgzones <cgzones@googlemail.com>2021-01-04 23:12:43 +0100
commita3cced9fb615a1cfe0b334fc41dc785f1fb9aef5 (patch)
treeb54469629867cbff2a2dd7489a5c1682d5e22440 /InfoScreen.c
parent24c5ca9ddfbe088a3d25694cbe170eaf3d7f828f (diff)
Add option to hide the Function Bar
Support three settings: - Always show Function Bar - Always hide the Function Bar, except in Infoscreens (Env/Locks...) and when editing the search and filter mode - Hide the Function Bar on ESC until the next user input Closes: #439
Diffstat (limited to 'InfoScreen.c')
-rw-r--r--InfoScreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/InfoScreen.c b/InfoScreen.c
index 79f123e9..51bc1587 100644
--- a/InfoScreen.c
+++ b/InfoScreen.c
@@ -56,7 +56,7 @@ void InfoScreen_drawTitled(InfoScreen* this, const char* fmt, ...) {
mvhline(0, 0, ' ', COLS);
mvwprintw(stdscr, 0, 0, title);
attrset(CRT_colors[DEFAULT_COLOR]);
- Panel_draw(this->display, true, true, true);
+ Panel_draw(this->display, true, true, true, false);
IncSet_drawBar(this->inc);
}
@@ -89,7 +89,7 @@ void InfoScreen_run(InfoScreen* this) {
bool looping = true;
while (looping) {
- Panel_draw(panel, false, true, true);
+ Panel_draw(panel, false, true, true, false);
IncSet_drawBar(this->inc);
if (this->inc->active) {

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