Clearing the notification screen

main
Bob Mottram 2021-03-15 13:35:12 +00:00
parent bdd3040308
commit 7ea1d4ff11
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ from pgp import pgpEncryptToActor
def _clearScreen() -> None: def _clearScreen() -> None:
print(chr(27) + "[2J") print(chr(27) + "[2J")
print('\x1b[2J') print('\x1b[2J')
os.system('cls' if os.name == 'nt' else 'clear')
def _waitForKeypress(timeout: int, debug: bool) -> str: def _waitForKeypress(timeout: int, debug: bool) -> str: