Skip to content
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

Search in Git/mingw nano mangles text ("←[?1h") #11110

Closed
xnoreq opened this issue Sep 1, 2021 · 4 comments
Closed

Search in Git/mingw nano mangles text ("←[?1h") #11110

xnoreq opened this issue Sep 1, 2021 · 4 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@xnoreq
Copy link

xnoreq commented Sep 1, 2021

Windows Terminal version (or Windows build number)

10.0.19043.0, 1.11.2421.0

Other Software

Git-2.33.0.2-64-bit with support for pseudo-consoles enabled

Steps to reproduce

echo asdf > test.txt
nano test.txt

Now press Ctrl+W (search), enter "asdf" (without quotes), press return.

Expected Behavior

No change to text in nano.

Actual Behavior

"asdf" is replaced by "←[?1h". After a second, the text automatically changes to "←[?1hasdf". Pressing right reveals "asdf" character by character.

Pressing right once before the second has passed results in "a[?1h←[?1h←[?1h←[?1hasdf".

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Sep 1, 2021
@DHowett
Copy link
Member

DHowett commented Sep 1, 2021

This is the classic behavior of an application that has told us to stop handling escape sequences. I'm guessing it's either nano or the MSYS2 runtime (Cygwin)...

@zadjii-msft
Copy link
Member

Oh look, the dupe from the backlog: /dup #9312

@ghost
Copy link

ghost commented Sep 15, 2021

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!

@ghost ghost closed this as completed Sep 15, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Sep 15, 2021
@zadjii-msft
Copy link
Member

Which might also be #4921

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants