Skip to content

Commit

Permalink
fix macos terminal resize
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixthrush committed Nov 12, 2024
1 parent f58fb20 commit bf64dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aniworld/common/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def set_terminal_size(columns: int = None, lines: int = None):
columns, lines = aniworld_globals.DEFAULT_TERMINAL_SIZE

if system_name == 'Darwin':
os.system(f"printf '\033[8;{lines};{columns}t'")
os.system(f"printf '\033[9;{lines};{columns}t'")

# TODO: Windows and Linux support

Expand Down

0 comments on commit bf64dc1

Please sign in to comment.