-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fzf adding a ^ character on Windows when an @ symbol exists in selected line/field #3764
Comments
I recently revised the argument escaping for cmd.exe to fix some of the long-standing problems on Windows. Lines 111 to 137 in 7bac1a7
And it escapes |
Maybe escaping |
I'm using fzf as a front-end for youtube subscriptions - fetching xml and parsing using a Ruby script and displaying the results in fzf. One of the columns is the channel "handle" which start with the
In this case, the .exe handles any strings passed - no escaping required. I think because fzf already quotes the result on Windows? On the Windows cmd.exe:
The example does not |
Can you check if the problem is fixed on the latest source? In case you can't build the binary, I'm attaching the one I just built. |
I tried the binary you built - it works, thank you. I had reverted to the previous version for the short term. Is there a discussion of the need for the escaping? If fzf returns double-quoted strings in Windows, I am not sure why escaping would be needed. |
Checklist
man fzf
)Output of
fzf --version
0.51.0 (260a65b)
OS
Shell
Problem / Steps to reproduce
Using Windows Terminal:
Command line entered:
Result displayed:
So it appears wherever the is a
@
symbol, fzf has added a^
symbol?The text was updated successfully, but these errors were encountered: