Skip to content

Commit ca200d9

Browse files
committed
Added Title and Repaired clearCLi Function for Windows
1 parent e7439aa commit ca200d9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ def main():
132132
prevInputInvalid = 0
133133
while 1:
134134
clearCLI()
135+
136+
print(f"{Fore.MAGENTA}{Style.BRIGHT}Welcome to InstaUnfollowerFinder by Smartsv!{Style.RESET_ALL}\n")
135137

136138
# Print all the actions
137139
for n, i in enumerate(actions.keys()):

utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
from colorama import Style, Fore
22
import os
3+
from sys import platform
34

45

56
def clearCLI():
6-
os.system("clear")
7+
if platform == "win32":
8+
os.system("cls")
9+
else:
10+
os.system("clear")
711

812

913
def error(txt):

0 commit comments

Comments
 (0)