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

Keybindings for Home and End are not triggered #175

Open
antonlindgren opened this issue Sep 12, 2018 · 0 comments
Open

Keybindings for Home and End are not triggered #175

antonlindgren opened this issue Sep 12, 2018 · 0 comments

Comments

@antonlindgren
Copy link

Hi,

I've noticed that keybindings using gocui.KeyHome and gocui.KeyEnd are not being fired.

If I add a log row in the function "execKeybindings" and printing ev.Key, ev.Ch and ev.Mod, I notice that pressing Home/End fires the function three times.
For Home it gets fired with 0/91/1, 0/49/0, 0/126/0
For End it gets fired with 0/91/1, 0/52/0, 0/126/0.

If I add a keybinding for '1' with gocui.ModNone, it will get fired when I press "Home" because 0/49/0 is also the value for 1.

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

No branches or pull requests

1 participant