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
bemenu version: v0.6.20 (also happens on current master, 5bc8a6c)
On the Wayland backend, when I enter vim normal mode, highlight an item, and press 'Return', nothing happens. The 'Return' key in vim insert mode works as expected.
# all other BEMENU_* environment variables are left blankexport BEMENU_BACKEND wayland
echo -e "1\n2\n3"| bemenu --binding vim
However if I use the x11 backend, the 'Return' key also works in vim normal node - the highlighted item is printed to stdout and bemenu exits. I assume this is the intended behavior.
# all other BEMENU_* environment variables are left blankexport BEMENU_BACKEND x11
echo -e "1\n2\n3"| bemenu --binding vim
Can reproduce on sway version 1.9 (default configs), and on a heavily configured Hyprland 0.38, which I daily drive.
The text was updated successfully, but these errors were encountered:
I looked into this a bit, and logged the key (bm_key), unicode, and code (bm_vim_code) values directly after the bm_vim_key_press call (https://github.com/Cloudef/bemenu/blob/master/lib/menu.c#L1039) for a 'Return' keytap (vim normal node on a highlighted item):
wayland: (default case -> key is consumed -> nothing happens)
The actual bm_key value is consistent across all 3 platforms, but the unicode isn't, so it'd make sense to me to base such logic on bm_key instead. However the 'Return' key isn't explicitly handled in bm_vim_key_press so I'm not sure what the intended behavior really is
bemenu version: v0.6.20 (also happens on current master, 5bc8a6c)
On the Wayland backend, when I enter vim normal mode, highlight an item, and press 'Return', nothing happens. The 'Return' key in vim insert mode works as expected.
However if I use the x11 backend, the 'Return' key also works in vim normal node - the highlighted item is printed to stdout and bemenu exits. I assume this is the intended behavior.
Can reproduce on sway version 1.9 (default configs), and on a heavily configured Hyprland 0.38, which I daily drive.
The text was updated successfully, but these errors were encountered: