gh-119553: Clear reader on Ctrl-C command (GH-119801)

This commit is contained in:
Lysandros Nikolaou 2024-06-04 19:46:33 +02:00 committed by GitHub
parent d419d468ff
commit 010ea93b2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 0 deletions

View file

@ -75,6 +75,8 @@ def handle_all_events(
reader.handle1()
except StopIteration:
pass
except KeyboardInterrupt:
pass
return reader, console