From 7ea1d4ff11fab34bb054c94e1415da943b8ad185 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Mar 2021 13:35:12 +0000 Subject: [PATCH] Clearing the notification screen --- notifications_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications_client.py b/notifications_client.py index 5f5268aaa..7d2fdc04e 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -39,6 +39,7 @@ from pgp import pgpEncryptToActor def _clearScreen() -> None: print(chr(27) + "[2J") print('\x1b[2J') + os.system('cls' if os.name == 'nt' else 'clear') def _waitForKeypress(timeout: int, debug: bool) -> str: