mirror of https://gitlab.com/bashrc2/epicyon
Clearing the notification screen
parent
bdd3040308
commit
7ea1d4ff11
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue