This commit is contained in:
nebula 2025-04-24 05:20:26 +00:00
parent 608d13f356
commit aec3ce9eea

View File

@ -4,7 +4,7 @@ from time import time_ns
import datetime
import os
import sys
from subprocess import run
from subprocess import run, call
import tempfile
from math import floor
@ -166,7 +166,7 @@ class ActionBox(urwid.ListBox):
app = App()
try:
app.loop.run()
app.terminate()
except (KeyboardInterrupt, urwid.ExitMainLoop):
call("clear", shell=True)
print("bye!")
exit(0)