mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
![]() 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
|
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
support.py | ||
test_input.py | ||
test_interact.py | ||
test_keymap.py | ||
test_pyrepl.py | ||
test_reader.py | ||
test_unix_console.py | ||
test_unix_eventqueue.py | ||
test_windows_console.py |