mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
Fix #5113
This commit is contained in:
@@ -59,7 +59,7 @@ def main() -> None:
|
|||||||
write(line)
|
write(line)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
p.send_signal(signal.SIGINT)
|
p.send_signal(signal.SIGINT)
|
||||||
except EOFError:
|
except (EOFError, BrokenPipeError):
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
p.stdout.close()
|
p.stdout.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user