diff options
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py index df361ed8..c7c3bfa2 100644 --- a/src/windows.py +++ b/src/windows.py @@ -68,8 +68,9 @@ class Win(object): if not self._win: self._win = curses.newwin(height, width, y, x) else: - self._win.resize(height, width) - self._win.mvwin(y, x) + if height > 5 and width > 40: + self._win.resize(height, width) + self._win.mvwin(y, x) def resize(self, height, width, y, x): """ |