It doesn't work in the ^R widget and also doesn't work when just start mcfly search. I have tried in bash and zsh so doesn't seem to be shell specific. It works fine when I am using from xterm though. F2 key also works for other applications, such as mc.
It doesn't work in the
^R
widget and also doesn't work when just startmcfly search
. I have tried inbash
andzsh
so doesn't seem to be shell specific. It works fine when I am using from xterm though.F2
key also works for other applications, such asmc
.After digging through the history of zsh integration I stumbled upon that changing the following line https://github.com/cantino/mcfly/blob/eac2d68c9e83e6400fa7b236935a53b5431db5b9/mcfly.zsh#L68 to
tput init
fixes at least the widget for me.Changing the binding in the source to something else which isn't involving an
Fn
key also works. Only theFn
keys seem to be non-functional.Do you have any idea how to debug this issue further?
P.S: I am on NixOS (linux), using
kitty 0.20.3
, triedmcfly 0.5.6
and also tried building fromeac2d68