diff options
Diffstat (limited to 'Lib/_pyrepl/commands.py')
-rw-r--r-- | Lib/_pyrepl/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/_pyrepl/commands.py b/Lib/_pyrepl/commands.py index 2ef5dada9d9..e94e8c25d37 100644 --- a/Lib/_pyrepl/commands.py +++ b/Lib/_pyrepl/commands.py @@ -221,6 +221,7 @@ class interrupt(FinishCommand): class ctrl_c(Command): def do(self) -> None: + self.reader.finish() raise KeyboardInterrupt |