summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-12-11 20:39:27 +0100
committertoonn <toonn@toonn.io>2019-12-11 20:39:27 +0100
commit1188d40862ebc629e6d29ae879b777437aed7a16 (patch)
tree09d0a097ccd8ea46c7e8191c84ce301eb5aceee7 /ranger
parent4ff19f6c059fc0d477273304988dc6b7c0ee6320 (diff)
parent02714ab883bff9e807d9e78951eebfdb027bdcf1 (diff)
downloadranger-1188d40862ebc629e6d29ae879b777437aed7a16.tar.gz
Merge branch 'eMPee584-fix-status-bar-position'
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/displayable.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index 16cb275f..1c3fb3e4 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -197,7 +197,11 @@ class Displayable(  # pylint: disable=too-many-instance-attributes
             try:
                 self.win.mvderwin(y, x)
             except curses.error:
-                pass
+                try:
+                    self.win.resize(hei, wid)
+                    self.win.mvderwin(y, x)
+                except curses.error:
+                    pass
 
             self.paryx = self.win.getparyx()
             self.y, self.x = self.paryx