cpython/Lib/test/test_pyrepl
Miss Islington (bot) 865bfb1530
[3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327)
gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324)

When display lines above the cursor come from the cache, the first line
to not come from the cache may be a wrapped line, starting half way
through a logical line in the buffer. Detect and handle this case to
avoid accidentally drawing a stray prompt in the middle of a logical
line.
(cherry picked from commit 602fcf97df)

Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
2024-08-26 02:13:36 +01:00
..
__init__.py [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850) 2024-05-31 17:18:28 +02:00
__main__.py
support.py [3.13] gh-120678: pyrepl: Include globals from modules passed with -i (GH-120904) (#121916) 2024-07-17 16:52:46 +02:00
test_input.py
test_interact.py [3.13] gh-121804: Always show error location for SyntaxError's in new repl (GH-121886) (#123148) 2024-08-19 20:01:58 +01:00
test_keymap.py [3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414) 2024-05-22 23:13:01 +02:00
test_pyrepl.py [3.13] gh-123228: don't leak file descriptors in pyrepl test (GH-123302) (#123313) 2024-08-25 15:17:45 +00:00
test_reader.py [3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327) 2024-08-26 02:13:36 +01:00
test_unix_console.py [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986) 2024-06-03 18:15:37 +02:00
test_unix_eventqueue.py [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850) 2024-05-31 17:18:28 +02:00
test_windows_console.py [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986) 2024-06-03 18:15:37 +02:00