Skip to content

Commit 3b0cd0f

Browse files
committed
Add lines to console after exit
1 parent 44bf222 commit 3b0cd0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,8 @@ async def run(cls):
12511251
logger.info(
12521252
"\n"*6 + "\033[92m[INFO]:\033[97m Shutting down proxy...")
12531253
try:
1254+
if sys.platform == "win32":
1255+
os.system("mode con: lines=3000")
12541256
sys.exit(0)
12551257
except asyncio.CancelledError:
12561258
pass

0 commit comments

Comments
 (0)