fix more exit problems

This commit is contained in:
nebula 2025-04-23 23:00:25 +00:00
parent b375af7298
commit 1aef864d87

View File

@ -127,7 +127,7 @@ class App():
self.loop.start()
def exit(self, message=""):
app.loop.stop()
self.loop.stop()
run(["clear"])
exit(0)
@ -166,5 +166,4 @@ app = App()
try:
app.loop.run()
except KeyboardInterrupt:
app.loop.stop()
app.exit()