Skip to content

Commit

Permalink
Added Title and Repaired clearCLi Function for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartsvXD committed Nov 12, 2024
1 parent e7439aa commit ca200d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()):
Expand Down
6 changes: 5 additions & 1 deletion utils.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit ca200d9

Please sign in to comment.