From aec3ce9eeae07a562f2ba53dcaeb6f76e5121c1d Mon Sep 17 00:00:00 2001 From: nebula Date: Thu, 24 Apr 2025 05:20:26 +0000 Subject: [PATCH] exit --- bink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bink.py b/bink.py index dda41f5..29ef603 100755 --- a/bink.py +++ b/bink.py @@ -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)