pager sizing fix

This commit is contained in:
Luxferre
2025-12-21 14:35:24 +02:00
parent 718ccc56a2
commit 35fbce85c9
+1 -1
View File
@@ -6,7 +6,7 @@ import os
from deck.input import input
# detect terminal size
TERM_ROWS = os.getenv('TERM_ROWS', 24)
TERM_ROWS = os.getenv('TERM_ROWS', 19)
TERM_COLS = os.getenv('TERM_COLS', 53)
try: # if running on CPython
TERM_COLS, TERM_ROWS = os.get_terminal_size()