Include state line in the header window

This commit is contained in:
Andrzej Rybczak
2016-10-30 14:55:30 +01:00
parent e34221f74d
commit 126e954528
2 changed files with 9 additions and 16 deletions

View File

@@ -258,7 +258,7 @@ void setWindowsDimensions()
if (!Config.statusbar_visibility)
++MainHeight;
HeaderHeight = Config.design == Design::Alternative ? (Config.header_visibility ? 5 : 3) : 1;
HeaderHeight = Config.design == Design::Alternative ? (Config.header_visibility ? 5 : 3) : 2;
FooterStartY = LINES-(Config.statusbar_visibility ? 2 : 1);
FooterHeight = Config.statusbar_visibility ? 2 : 1;
}