Created terminal_controller and "clear" function

pull/784/head^2
sTiKyt 2020-08-22 18:39:11 +00:00
parent a66e8bc683
commit 23c024f872
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
from subprocess import call
from controllers.system_controller import SystemController
class TerminalController:
def __init__(self):
pass
@staticmethod
def clear():
call('clear' if SystemController().is_unix() else 'cls')