diff options
author | Y5 <124019959+y5c4l3@users.noreply.github.com> | 2025-02-24 03:30:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 20:30:33 +0100 |
commit | a65366ed879a3d9f27cbcc811ed2e05ad1a2af06 (patch) | |
tree | 24446b1acaf844ba65a606b449b7feed93a50424 /Python/object_stack.c | |
parent | 25a7ddf2efeaf77bcf94dbfca28ba3a6fe9ab57e (diff) | |
download | cpython-a65366ed879a3d9f27cbcc811ed2e05ad1a2af06.tar.gz cpython-a65366ed879a3d9f27cbcc811ed2e05ad1a2af06.zip |
gh-124096: Enable REPL virtual terminal support on Windows (#124119)
To support virtual terminal mode in Windows PYREPL, we need a scanner
to read over the supported escaped VT sequences.
Windows REPL input was using virtual key mode, which does not support
terminal escape sequences. This patch calls `SetConsoleMode` properly
when initializing and send sequences to enable bracketed-paste modes
to support verbatim copy-and-paste.
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Dustin L. Howett <dustin@howett.net>
Co-authored-by: wheeheee <104880306+wheeheee@users.noreply.github.com>
Diffstat (limited to 'Python/object_stack.c')
0 files changed, 0 insertions, 0 deletions