diff options
author | Matt Wozniski <mwozniski@bloomberg.net> | 2024-08-25 22:54:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-25 22:54:06 (GMT) |
commit | 602fcf97df1665538d4e9841f9dc6bc33e38bece (patch) | |
tree | cc892e3ee534c2781c0ce5dbf97658d08175c9e6 /Lib/test/test_pathlib/test_pathlib.py | |
parent | 70bfef52b5734d6cd81c5e8ca9eaf85658916b04 (diff) | |
download | cpython-602fcf97df1665538d4e9841f9dc6bc33e38bece.zip cpython-602fcf97df1665538d4e9841f9dc6bc33e38bece.tar.gz cpython-602fcf97df1665538d4e9841f9dc6bc33e38bece.tar.bz2 |
gh-123177: Fix prompt for wrapped lines in pyrepl (#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.
Diffstat (limited to 'Lib/test/test_pathlib/test_pathlib.py')
0 files changed, 0 insertions, 0 deletions