diff options
author | Dino Viehland <dinoviehland@meta.com> | 2024-07-30 05:03:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 14:03:52 +0200 |
commit | d1a1bca1f0550a4715f1bf32b1586caa7bc4487b (patch) | |
tree | d17698a50f8f164894985c14c7fbd68c19afb6a4 /Lib/_pyrepl/simple_interact.py | |
parent | d27a53fc02a87e76066fc4e15ff1fff3922a482d (diff) | |
download | cpython-d1a1bca1f0550a4715f1bf32b1586caa7bc4487b.tar.gz cpython-d1a1bca1f0550a4715f1bf32b1586caa7bc4487b.zip |
gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217)
Diffstat (limited to 'Lib/_pyrepl/simple_interact.py')
-rw-r--r-- | Lib/_pyrepl/simple_interact.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/_pyrepl/simple_interact.py b/Lib/_pyrepl/simple_interact.py index 2c3dffe070c..91aef5e01eb 100644 --- a/Lib/_pyrepl/simple_interact.py +++ b/Lib/_pyrepl/simple_interact.py @@ -76,6 +76,7 @@ REPL_COMMANDS = { "copyright": _sitebuiltins._Printer('copyright', sys.copyright), "help": "help", "clear": _clear_screen, + "\x1a": _sitebuiltins.Quitter('\x1a', ''), } |