exit
This commit is contained in:
parent
608d13f356
commit
aec3ce9eea
4
bink.py
4
bink.py
@ -4,7 +4,7 @@ from time import time_ns
|
|||||||
import datetime
|
import datetime
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from subprocess import run
|
from subprocess import run, call
|
||||||
import tempfile
|
import tempfile
|
||||||
from math import floor
|
from math import floor
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ class ActionBox(urwid.ListBox):
|
|||||||
app = App()
|
app = App()
|
||||||
try:
|
try:
|
||||||
app.loop.run()
|
app.loop.run()
|
||||||
app.terminate()
|
|
||||||
except (KeyboardInterrupt, urwid.ExitMainLoop):
|
except (KeyboardInterrupt, urwid.ExitMainLoop):
|
||||||
|
call("clear", shell=True)
|
||||||
print("bye!")
|
print("bye!")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user