[+] Clear screen feature
This commit is contained in:
parent
5364e22f39
commit
892ed4e141
1 changed files with 7 additions and 0 deletions
|
@ -49,6 +49,13 @@ def printc(msg: str):
|
||||||
print(color(msg + '&r'))
|
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]:
|
def redistribute_rgb(r: int, g: int, b: int) -> tuple[int, int, int]:
|
||||||
"""
|
"""
|
||||||
Redistribute RGB after lightening
|
Redistribute RGB after lightening
|
||||||
|
|
Loading…
Reference in a new issue