mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Clean exit for client on EOF/interrupt
This commit is contained in:
@@ -142,4 +142,7 @@ def replay(raw):
|
|||||||
def main(path):
|
def main(path):
|
||||||
raw = open(path).read()
|
raw = open(path).read()
|
||||||
replay(raw)
|
replay(raw)
|
||||||
input()
|
try:
|
||||||
|
input()
|
||||||
|
except (EOFError, KeyboardInterrupt):
|
||||||
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user