summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-20 21:22:24 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-20 21:22:24 +0200
commitb9348519bbedb077a5d32901c7f1adf3f7bc1881 (patch)
tree505f1e82b888941d6b0ddf26531d14829ce1817e /src/tabs.py
parent6ec1ca42cc8bb55adaa3bf5df40cdabb5f2dd5f5 (diff)
parent6debaa6c3f90275e1ebb641360da6fe367126ec5 (diff)
downloadpoezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.tar.gz
poezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.tar.bz2
poezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.tar.xz
poezio-b9348519bbedb077a5d32901c7f1adf3f7bc1881.zip
merge
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 26f8bd0e..5c141f51 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -13,9 +13,6 @@ Each Tab object has different refresh() and resize() methods, defining how its
Windows are displayed, resized, etc
"""
-MIN_WIDTH = 50
-MIN_HEIGHT = 22
-
import logging
log = logging.getLogger(__name__)
@@ -89,10 +86,7 @@ class Tab(object):
@staticmethod
def resize(scr):
Tab.size = (Tab.height, Tab.width) = scr.getmaxyx()
- if Tab.height < MIN_HEIGHT or Tab.width < MIN_WIDTH:
- Tab.visible = False
- else:
- Tab.visible = True
+ Tab.visible = True
def complete_commands(self, the_input):
"""