FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) by miss-islington · Pull Request #123327 · python/cpython · GitHub

Repository navigation

[3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) - #123327

Merged
pablogsal merged 1 commit into
python:3.13from
miss-islington:backport-602fcf9-3.13
Aug 26, 2024
Merged

pablogsal merged 1 commit into
python:3.13from
miss-islington:backport-602fcf9-3.13

Conversation

miss-islington commented Aug 25, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 602fcf9)

Co-authored-by: Matt Wozniski mwozniski@bloomberg.net

)

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 602fcf9)

Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL