[+] Clear screen feature
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user