From ca200d942edad420a82022e1d74ce6eda305307a Mon Sep 17 00:00:00 2001 From: SmartsvXD Date: Tue, 12 Nov 2024 22:48:22 +0100 Subject: [PATCH] Added Title and Repaired clearCLi Function for Windows --- main.py | 2 ++ utils.py | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 1496cb7..c58fed3 100644 --- a/main.py +++ b/main.py @@ -132,6 +132,8 @@ def main(): prevInputInvalid = 0 while 1: clearCLI() + + print(f"{Fore.MAGENTA}{Style.BRIGHT}Welcome to InstaUnfollowerFinder by Smartsv!{Style.RESET_ALL}\n") # Print all the actions for n, i in enumerate(actions.keys()): diff --git a/utils.py b/utils.py index 1098890..c9db0c4 100644 --- a/utils.py +++ b/utils.py @@ -1,9 +1,13 @@ from colorama import Style, Fore import os +from sys import platform def clearCLI(): - os.system("clear") + if platform == "win32": + os.system("cls") + else: + os.system("clear") def error(txt):