summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-09 14:27:23 +0200
committerhut <hut@lavabit.com>2012-08-09 14:27:23 +0200
commiteb180da9e4191f0e1f4de7e5b57bb7bdfdcf1fd8 (patch)
tree21f4accafd84fc1f2d663032401393b7130ee534 /ranger
parent9d46272c353bc0f00a04d1c8b4b1d72085e92eec (diff)
downloadranger-eb180da9e4191f0e1f4de7e5b57bb7bdfdcf1fd8.tar.gz
gui.ui: Fixed crash due to bad ui.termsize with padding_right=False
https://bbs.archlinux.org/viewtopic.php?pid=1143920#p1143920
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index cc7e985e..a9a4dc9c 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -41,7 +41,7 @@ class UI(DisplayableContainer):
 	is_set_up = False
 	load_mode = False
 	is_on = False
-	termsize = (24, 80)
+	termsize = None
 
 	def __init__(self, env=None, fm=None):
 		self._draw_title = os.environ["TERM"] in TERMINALS_WITH_TITLE