cpython/Lib/test/test_pyrepl
Y5 a65366ed87
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>
2025-02-23 20:30:33 +01:00
..
__init__.py
__main__.py
support.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_eventqueue.py gh-124096: Enable REPL virtual terminal support on Windows (#124119) 2025-02-23 20:30:33 +01:00
test_input.py
test_interact.py
test_keymap.py
test_pyrepl.py gh-128770: fix ResourceWarning in test_pyrepl (#128906) 2025-01-22 12:48:33 +00:00
test_reader.py Replace non-breaking spaces with normal spaces (#130116) 2025-02-16 09:33:14 +08:00
test_unix_console.py gh-128636: Fix crash in PyREPL when os.environ is overwritten with an invalid value (#128653) 2025-01-22 16:15:23 +00:00
test_utils.py gh-126332: Add tests for _pyrepl.utils (#129325) 2025-02-21 16:10:13 +00:00
test_windows_console.py gh-126332: Fix pyrepl crash for double ctrl-z in line overflow (#126650) 2025-01-21 20:14:10 +00:00