Created terminal_controller and "clear" function
parent
a66e8bc683
commit
23c024f872
|
@ -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')
|
Loading…
Reference in New Issue