summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--urwid/raw_display.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/raw_display.py b/urwid/raw_display.py
index b0482b1..365e311 100644
--- a/urwid/raw_display.py
+++ b/urwid/raw_display.py
@@ -637,7 +637,7 @@ class Screen(BaseScreen, RealTerminal):
def get_cols_rows(self):
"""Return the terminal dimensions (num columns, num rows)."""
- y, x = 80, 24
+ y, x = 24, 80
try:
buf = fcntl.ioctl(self._term_output_file.fileno(),
termios.TIOCGWINSZ, ' '*4)