-
Notifications
You must be signed in to change notification settings - Fork 82
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
weird output with fish-apple-touchbar & iterm2 #184
Comments
Sorry about the bug! Can you add 2>/dev/null to fzf_configure_bindings and see if anything changes? |
No change. I also tried to remove the function as suggested in issue #183 . No effect. Maybe we could just deactivate the preview by setting an environment variable for example? I find the preview a bit slow anyway. |
Sure check this out https://github.com/PatrickF1/fzf.fish/wiki/Cookbook#how-can-i-disable-the-fzf-preview-pane-for-a-particular-command. Thanks for giving me such detailed screenshots and description of your set up. It really helps with debugging! 💯 |
I suspected the same, tried disabling the print_key function, but it appears that this function is essential for the custom buttons to appear in the touchbar. UPDATE: If I try to change the escape codes suggested on page https://iterm2.com/documentation-escape-codes.html Actually when I do I think we can close this issue. I found a weird workaround actually, I put my config for apple touch bar in |
I am so confused....thanks for reporting back though! Are you saying this is more of an fzf bug? |
I don't know for sure if it's a bug with fzf but this characters should in theory be "removed" by iTerm2.. I written an issue report and was ready to send it to iTerm2 bug tracker, when I found the workaround. Because I don't understand why this workaround is working and I already spend too much time on that, I kinda gave up and didn't send the issue |
This is not a bug with either fzf.fish or fish-apple-touchbar. It's because you are calling It is very likely that you have guard your config with |
Thank you for debugging this @kidonng ! |
That explains why I had no issue when I put that in my config.fish. You're totally right @kidonng, I indeed ended up putting the lines |
Describe the bug
When I use fzf.fish in conjunction with fish-apple-touchbar, I am getting extra lines containing "1337;SetKeyLabel=" shown on the attached screenshot
Steps to Reproduce
Steps to reproduce the behavior:
Screenshots
Environment
Versions installed:
Additional context
I configured fish-apple-touchbar 1.0.0 like so:
https://github.com/fredericrous/dotfiles/blob/main/private_dot_config/private_fish/conf.d/touchbar.fish
https://github.com/fredericrous/dotfiles/blob/main/private_dot_config/private_fish/functions/__fish_apple_touchbar_bind_key_custom.fish
https://github.com/fredericrous/dotfiles/blob/master/private_dot_config/private_fish/config.fish#L38
This issue might be related to #183, but the extra lines appear at a different spot.
My exact config for fish is there https://github.com/fredericrous/dotfiles/tree/main/private_dot_config/private_fish
The extra characters 1337 are apparently issued by iterm2
The issue does not seem to come from fish-apple-touchbar plugin rodrigobdz/fish-apple-touchbar#13
The text was updated successfully, but these errors were encountered: