diff --git a/CurseBreaker.py b/CurseBreaker.py index e83efd0..0cb3f7b 100644 --- a/CurseBreaker.py +++ b/CurseBreaker.py @@ -23,6 +23,7 @@ from rich.table import Table from rich.panel import Panel from rich.console import Console +from rich.control import Control from rich.progress import Progress, BarColumn from rich.traceback import Traceback, install from multiprocessing import freeze_support @@ -777,7 +778,7 @@ def c_wago_update(self, _, verbose=True): for aura in statusplater[1]: self.console.print(f'[link={aura[1]}]{aura[0]}[/link]', highlight=False) else: - self.console.control('\033[A') + self.console.control(Control.move(x=0, y=-1)) if len(statuswa[0]) > 0: self.console.print(f'\n[green]The number of outdated WeakAuras:[/green] ' f'{len(statuswa[0])}', highlight=False) diff --git a/requirements.txt b/requirements.txt index 58c3ecc..8cb57c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ pyperclip requests markdown bbcode -rich +rich>10 lupa \ No newline at end of file