We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3485344 commit 428aed8Copy full SHA for 428aed8
render50
@@ -447,11 +447,11 @@ def get(file):
447
def get_terminal_size_fallback():
448
try:
449
# Attempt to get terminal size
450
- columns, _ = os.get_terminal_size()
+ columns, rows = os.get_terminal_size()
451
except OSError:
452
# Fallback to default size if running in a non-terminal environment
453
- columns, _ = shutil.get_terminal_size(fallback=(80, 20))
454
- return columns
+ columns, rows = shutil.get_terminal_size(fallback=(80, 20))
+ return columns, rows
455
456
457
def join(a, b):
0 commit comments