fix ctrl-i/ctrl-h/ctrl-b/ctrl-f#5149
Conversation
tcell now can distinguish them phanen/tcell@74fd487 I always use c-i as tab key, to resume the behavior, this commit allow: togglePanel: <c-i>
| gocui.KeyCtrlH: "<c-h>", | ||
| gocui.KeyCtrlI: "<c-i>", | ||
| gocui.KeyCtrlJ: "<c-j>", | ||
| gocui.KeyCtrlK: "<c-k>", | ||
| gocui.KeyCtrlL: "<c-l>", | ||
| gocui.KeyCtrlM: "<c-m>", |
There was a problem hiding this comment.
I don't want to add any of these to the list just yet. The upgrade of tcell allows us to have many more available keybindings (e.g. <s-c-a-pgup>), but we need some changes to our keybinding infrastructure to handle these. And they will only be available if the terminal supports the new key event protocol, so we need to find a way to warn the user if theirs doesn't. I'm working on this (slowly, might take a few more weeks), and I want to add these missing keybindings then.
There was a problem hiding this comment.
Thanks. Now for me the only missing part is to make can work as tab in lazygit (togglePanel). Which I think you will resolve later.
|
Close, as this seems already supported on master. Many thanks! |
PR Description
After updating from source I notice many keybind broken.
Because a recent bump of gocui/tcell.
gocui pr: jesseduffield/gocui#92
Please check if the PR fulfills these requirements
go generate ./...)