You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If keybindings listen doesn't see ctrl+backspace it could be your terminal or the particular version of crossterm we're using (0.24). I think on *nix systems this is mostly fixed with crossterm 0.25 but it's not integrated into reedline yet. My general comment to people that don't get a response with keybindings listen is that your terminal doesn't support it.
If keybindings listen doesn't see ctrl+backspace it could be your terminal or the particular version of crossterm we're using (0.24). I think on *nix systems this is mostly fixed with crossterm 0.25 but it's not integrated into reedline yet. My general comment to people that don't get a response with keybindings listen is that your terminal doesn't support it.
I would assume that my terminal supports it as I had previously been using zsh shell with ctrl+backspace in the same terminal.
Yeah kind of expected that based on how the OG ANSI terminal protocol works.
So the resolution for this issue if you care about those extra bindings, use a terminal that supports the kitty keyboard enhancement protocol and enable the option for it.
Activity
fdncred commentedon Sep 27, 2022
If
keybindings listendoesn't see ctrl+backspace it could be your terminal or the particular version of crossterm we're using (0.24). I think on *nix systems this is mostly fixed with crossterm 0.25 but it's not integrated into reedline yet. My general comment to people that don't get a response withkeybindings listenis that your terminal doesn't support it.Saturn745 commentedon Sep 27, 2022
I would assume that my terminal supports it as I had previously been using zsh shell with ctrl+backspace in the same terminal.
fdncred commentedon Sep 27, 2022
Then it's a crossterm problem. Hopefully that PR listed above in reedline will help, if we can get it landed sometime soon.
Saturn745 commentedon Sep 27, 2022
Any ETA on will that will be merged?
fdncred commentedon Sep 28, 2022
no eta - hopefully within the next 3 weeks.
Saturn745 commentedon Sep 28, 2022
Alright, thanks!
Saturn745 commentedon Nov 26, 2022
Any updates?
fdncred commentedon Nov 26, 2022
That PR is looking for someone to finish it. Feel free to jump in and help.
Saturn745 commentedon Nov 26, 2022
Alright! I will take a look here in a bit.
weirdan commentedon Aug 14, 2024
This works for me with nu 0.96 in wezterm 20240203-110809-5046fc22 on Debian Sid, with kitty keyboard protocol enabled in wezterm and nu:
sholderbach commentedon Aug 14, 2024
Does it work without the kitty keyboard protocol?
weirdan commentedon Aug 14, 2024
No, and it probably won't. Kitty protocol was invented for a reason.
The same sequence of keypresses produces the following with kitty protocol disabled:
sholderbach commentedon Aug 15, 2024
Yeah kind of expected that based on how the OG ANSI terminal protocol works.
So the resolution for this issue if you care about those extra bindings, use a terminal that supports the kitty keyboard enhancement protocol and enable the option for it.