[+] Clear screen feature

This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-06-19 16:29:52 -04:00
parent 5364e22f39
commit 892ed4e141

View file

@ -49,6 +49,13 @@ def printc(msg: str):
print(color(msg + '&r'))
def clear_screen():
"""
Clear screen using ANSI escape codes
"""
print('\033[2J\033[H')
def redistribute_rgb(r: int, g: int, b: int) -> tuple[int, int, int]:
"""
Redistribute RGB after lightening