Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.16k stars 90 forks source link

ESC have no effect under Wayland while enabled Vim binding #334

Closed fiathux closed 1 year ago

fiathux commented 1 year ago

Hi all, Sorry for my bad English. I'm runned bemenu under Sway. then I saw ESC can not been captured when I enabled Vim binding, menu will exit directly after ESC pressed. I have tested key respond in the code. got the unicode is not zero when ESC been presssed, the actual value is ASCII code of ESC (27). So I try to fix it. I have tested this patch. it worked fine under AwesomeWM(X11), console(curses) and Sway.

BTW. I'm very excited that you have provided Vim binding. thank you. I like it very much.

Cloudef commented 1 year ago

Thanks