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

Fix microsoft/vscode#232420: Python REPL cursor drifting by iBug · Pull Request #25521 · microsoft/vscode-python · GitHub

Fix microsoft/vscode#232420: Python REPL cursor drifting - #25521

Merged
Anthony Kim (anthonykim1) merged 2 commits into
microsoft:mainfrom
iBug-forks:vscode-232420
Nov 7, 2025
Merged

Fix microsoft/vscode#232420: Python REPL cursor drifting#25521
Anthony Kim (anthonykim1) merged 2 commits into
microsoft:mainfrom
iBug-forks:vscode-232420

Conversation

iBug commented Oct 11, 2025

Copy link
Copy Markdown

It seems readline is only imported if sys.platform != "win32", so this fix is applied on that condition too.

Context: microsoft/vscode#232420

iBug commented Oct 30, 2025

Copy link
Copy Markdown
Author

Eleanor Boyd (@eleanorjboyd) Anthony Kim (@anthonykim1) Any updates on this? It's a very simple fix and it's been hanging around for like 3 weeks.

Anthony Kim (anthonykim1) commented Oct 31, 2025
edited
Loading

Copy link
Copy Markdown

Thanks for the PR!
Just tested this, seems to work on Mac.

iBug commented Nov 1, 2025

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Copy link
Copy Markdown

The change to pythonrc.py fixes my issue #25502.

Anthony Kim (anthonykim1) added bug Issue identified by VS Code Team member as probable bug area-repl labels Nov 7, 2025
Anthony Kim (anthonykim1) merged commit 2ce21a0 into microsoft:main Nov 7, 2025
49 of 50 checks passed
iBug deleted the vscode-232420 branch November 7, 2025 08:26
Nick Trogh (ntrogh) pushed a commit to microsoft/vscode-docs that referenced this pull request Dec 13, 2025
Anthony Kim (anthonykim1) added a commit that referenced this pull request Jan 5, 2026
During my debugging and implementation of #25521, I find a descriptive
`__repr__()` for the custom PS1 object very helpful, so this PR comes as
an addition for #25521.

---------

Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
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

area-repl bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL