Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

fiathux
Copy link

@fiathux fiathux commented Mar 13, 2023

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 Cloudef merged commit 8e2fd06 into Cloudef:master Mar 13, 2023
@Cloudef
Copy link
Owner

Cloudef commented Mar 13, 2023

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants