mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-06-05 06:54:54 -05:00
[+] Clear screen feature
This commit is contained in:
parent
5364e22f39
commit
892ed4e141
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user