diff options
Diffstat (limited to 'ranger/gui/ui.py')
-rw-r--r-- | ranger/gui/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index 8ebd9dd8..019f50da 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -275,11 +275,11 @@ class UI(DisplayableContainer): self.termsize = self.win.getmaxyx() y, x = self.termsize - self.browser.resize(1, 0, y - 2, x) + self.browser.resize(self.settings.status_bar_on_top and 2 or 1, 0, y - 2, x) self.taskview.resize(1, 0, y - 2, x) self.pager.resize(1, 0, y - 2, x) self.titlebar.resize(0, 0, 1, x) - self.status.resize(y - 1, 0, 1, x) + self.status.resize(self.settings.status_bar_on_top and 1 or y-1, 0, 1, x) self.console.resize(y - 1, 0, 1, x) def draw(self): |