mirror of
https://github.com/python/cpython.git
synced 2026-05-09 14:11:28 -04:00
602fcf97df
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.