-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor navigation gets dirty symbols in the terminal #11910
Comments
This is kinda like #4037, but that's mostly for the terminal<->conpty connection. This is more at the conpty<->API layer presumably, or the API<->client layer. The bit about
is going to make this a little tricky to debug. Does this repro if you run |
This comment has been minimized.
This comment has been minimized.
incomplete escape codes that were then "ghost typed" was tracked down recently as a bug in msys2-runtime (which git bash links with) as shown in git-for-windows/git#3579. if the problem has the same root cause (it was also sensitive to connection responsiveness) could explain this and therefore should be fixed in the next snapshot/release of git for windows (as well as the current latest msys2, if you can reproduce/test it there). note that the cygwin developer that produced the fix doesn't expect[1] it will affect ConPTY (which is what Windows Terminal uses), but you are still using msys2 pty with bash and probably also mcedit (unless it is not an MSYS2 package) [1] https://cygwin.com/pipermail/cygwin-patches/2021q4/011593.html |
Thanks for the context @carenas! I don't think I ever would have been able to track that down. I'm gonna leave this one open till there's a fresh msys2-runtime to download and try out with the fix. Hopefully the issue will just go away - if it doesn't, we'll take another look. |
the current version (as of the time of the original post) of msys2 included it, so the issue (and fix) should be reproducible (if fixed) by :
|
Thanks! @karpulix can you see if that fixes this? |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
@karpulix: latest git RC[1] also includes the msys/cygwin fix, if testing with git is easier [1] https://github.com/git-for-windows/git/releases/tag/v2.35.0-rc0.windows.1 |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Windows Terminal version
1.12.2931.0
Windows build number
10.0.19043.0
Other Software
GNU Midnight Commander 4.8.7
Built with GLib 2.42.2
mintty 3.5.1 (Git Bash)
Steps to reproduce
This problem doesn't reproduce in Git Bash without WT
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: