Added clear_screen()

This commit is contained in:
Alan Mason 2017-11-30 14:40:44 -08:00
parent dd20cdd36e
commit e136283a71

View file

@ -81,6 +81,10 @@ def ask(prompt='Kotaero!'):
print_log(message=message)
return answer
def clear_screen():
"""Simple wrapper for cls."""
os.system('cls')
def convert_to_bytes(size):
"""Convert human-readable size str to bytes and return an int."""
size = str(size)