-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Powershell Core OSC9;9 string leaves residue in prompt after using grep from git-for-windows with pipe #13572
Comments
It is too sad to countenance. Funny enough, if you press Ctrl+C in any standard Windows message box, it DOES unexpectedly give you a hard copy of it:
I'm guessing this is related to msys restoring the console mode and turning off VT input . . . let me go digging, because I wrote this up before. |
This is way too fast a response. I feel guilty now. Take your time.
Live and learn. |
Ha, don't! It's not a problem at all. The symptoms here feel very similar to the ones dissected in #4921 (comment), which we traced back to an issue in the MSYS2 runtime that Git uses. I'm not sure whether the state of this issue has changed between 2.33 (the version you have installed) and 2.37 (the current version). |
I can reproduce issue 4921. Although, I need to press enter once, then
So, basically terminal loses the ability to recognize the escape/special characters as escape/special characters, right?
This issue persists with Msys2's grep command, too. And I regularly update msys. |
Yea, this looks like the same thing. I'm game to call this a dupe (and reopen if I'm wrong). /dup #4921 |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
This is a port of an issue previously filed here: MicrosoftDocs/terminal#425.
Output of the bug
Reproduction steps
$PROFILE
.git
is in the$env:path
and invoke:Versions of tools used
wt -v
not print in the console? I cannot even copy from the popup window.)Discussions elsewhere
I mentioned in another issue -- may or may not be related -- that Windows Terminal crashes randomly if I use OSC9;9 string in the prompt. But I've been using the preview build for a week and it hasn't crashed yet. Update: I have had no crashes since then.
The text was updated successfully, but these errors were encountered: