Open l4nz8 opened 2 years ago
https://github.com/ZDDduesseldorf/zdd-adventure/blob/802b54bcecef4f1473531e2945ec6b6eb945679e/zdd_adventure/start_adventure.py#L36
os.system('cls') works only under Windows I have implemented a function in graphics.py which can clear the console cross-platform.
os.system('cls')
Please import the function clear_cmd() from graphics.py and use it instead of os.system('cls')!
clear_cmd()
graphics.py
--> this could become a good unit test :)
https://github.com/ZDDduesseldorf/zdd-adventure/blob/802b54bcecef4f1473531e2945ec6b6eb945679e/zdd_adventure/start_adventure.py#L36
os.system('cls')
works only under Windows I have implemented a function in graphics.py which can clear the console cross-platform.Please import the function
clear_cmd()
fromgraphics.py
and use it instead ofos.system('cls')
!