diff options
author | Andrew Dunai <andunai@gmail.com> | 2018-01-07 02:24:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-07 02:24:25 +0200 |
commit | 9c3d68da020b028a55d38b1061db8aacae74ba89 (patch) | |
tree | 21bff1f6afcae0794b4767fa4b7a949d70b03919 | |
parent | 53b5d29c2614ef0f428fd23fa4c3153bde19475e (diff) | |
parent | 6120a99b8ca28c790d5c79e8c6154786a53c8dbf (diff) | |
download | urwid-9c3d68da020b028a55d38b1061db8aacae74ba89.tar.gz |
Merge pull request #151 from inducer/master
Fix default screen size on raw display
-rw-r--r-- | urwid/raw_display.py | 2 |
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) |