Open ok-nick opened 2 years ago
Ctrl-h is not received by broot in your log. It means the combination is intercepted in either your terminal (look at its settings), a multiplexer or similar if you have one, or the OS.
I can confirm this is an issue with alacritty
. I'll close this issue for now and keep it updated if I find a solution.
@ok-nick Please come back with details as soon as possible, as it might help others
Maybe it is an issue with broot?
Maybe something in between intercepts, since we send crtl+h
and according to https://github.com/alacritty/alacritty/issues/6473#issuecomment-1306592760 they clearly have
ctrl + h
working in bash
.
@Canop be aware that ctrl + h
is usually a backspace. Though in alacritty backspace is ^?
. Maybe your terminfo parsing and understanding is wrong when it comes to TERM=alacritty
@ok-nick have you pressed Backspace
during testing, since there's clearly a
21:18:31.482 [INFO] broot::app::app: event: TimedEvent { time: Instant { t: 239051.4147281s }, event: Key(KeyEvent { code: Backspace, modifiers: CONTROL }), double_click: false }
From your log, which I think is ctrl+h
.
@ok-nick maybe if you run broot
with TERM
variable you have in other terminals it will work by itself. TERM=xterm-256color
or whatever you have in other windows terminals by default.
I tested again and it's seems to be registering ctrl+h as ctrl+backspace. I tried setting the TERM env variable, as you suggested, but nothing changed.
Setting my keybind to ctrl+backspace fixes the issue, although it's just a workaround.
It's actually not, since some terminals do have ctrl+h
as backspace
. You might be surprised by that, but it's how it is.
@Canop Is broot using extended keyboard protocol so it can actually encode stuff like that? If so that could explain it, since alacritty not supporting it.
Hi, I have the same issue but with Alt+h on Arch Linux (EndeavourOS) with KDE Plasma 5.27. I tried it with KDE Konsole and Gnome Terminal.
UPDATE: I fixed it by unsetting the Alt+` shortcut in settings. I don't know why Alt+h collides with Alt+` , but it does. In KDE Plasma, Alt+` is assigned to Walk Through Windows of Current Application. I hope this helps!
I have a
ctrl-h
andctrl-l
binding set to move left/right panel, except only thectrl-l
binding works; pressingctrl-h
does nothing, I'm not sure if it's the terminal or the shell, but I can't seem to find any info on it. I'm using Windows 11 w/ Alacritty w/ PowerShell.Calling
:panel_left_no_open
directly works fine and so does thectrl-left
binding. No matter what I bind toctrl-h
, nothing seems to work.Config:
Debug log after starting, hitting
ctrl-h
, then quitting: