pager sizing fix
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import os
|
|||||||
from deck.input import input
|
from deck.input import input
|
||||||
|
|
||||||
# detect terminal size
|
# detect terminal size
|
||||||
TERM_ROWS = os.getenv('TERM_ROWS', 24)
|
TERM_ROWS = os.getenv('TERM_ROWS', 19)
|
||||||
TERM_COLS = os.getenv('TERM_COLS', 53)
|
TERM_COLS = os.getenv('TERM_COLS', 53)
|
||||||
try: # if running on CPython
|
try: # if running on CPython
|
||||||
TERM_COLS, TERM_ROWS = os.get_terminal_size()
|
TERM_COLS, TERM_ROWS = os.get_terminal_size()
|
||||||
|
|||||||
Reference in New Issue
Block a user