From bf64dc183dafe1474477e508f2807354d2caf97b Mon Sep 17 00:00:00 2001 From: phoenixthrush Date: Tue, 12 Nov 2024 20:50:16 +0100 Subject: [PATCH] fix macos terminal resize --- src/aniworld/common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aniworld/common/common.py b/src/aniworld/common/common.py index 0b6d7bf..5a91ecd 100644 --- a/src/aniworld/common/common.py +++ b/src/aniworld/common/common.py @@ -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