diff options
| author | Andreas Klöckner <inform@tiker.net> | 2015-09-15 03:07:45 -0500 |
|---|---|---|
| committer | Andreas Klöckner <inform@tiker.net> | 2015-09-15 03:07:45 -0500 |
| commit | 6120a99b8ca28c790d5c79e8c6154786a53c8dbf (patch) | |
| tree | 127d467b10f957aaddff33c822f85a49c582e65a /urwid | |
| parent | 61b586746710efa25ad82c62aaf3894dd95addda (diff) | |
| download | urwid-6120a99b8ca28c790d5c79e8c6154786a53c8dbf.tar.gz | |
Fix default screen size on raw display
Diffstat (limited to 'urwid')
| -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 0e76c3f..df585a9 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) |
