docs + fs start

This commit is contained in:
Luxferre
2025-12-22 09:05:35 +02:00
parent 6f01d3752b
commit 8fec507cae
4 changed files with 253 additions and 19 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ import os
from deck.input import input
# detect terminal size
TERM_ROWS = os.getenv('TERM_ROWS', 19)
TERM_COLS = os.getenv('TERM_COLS', 53)
TERM_ROWS = int(os.getenv('TERM_ROWS', 19))
TERM_COLS = int(os.getenv('TERM_COLS', 53))
try: # if running on CPython
TERM_COLS, TERM_ROWS = os.get_terminal_size()
except: