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

Refactor case where key event is solely a character #521

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

sudormrfbin
Copy link
Member

@sudormrfbin sudormrfbin commented Jul 28, 2021

Uses the new char method on KeyEvent to simplify the logic in some places.

Also fixes the bug of ignoring modifier keys at places where they shouldn't be ignored (for example in insert mode pressing ctrl-a would input a).

Copy link
Contributor

@pickfire pickfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks a lot!

@pickfire pickfire merged commit 8a2fa69 into helix-editor:master Jul 29, 2021
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.

2 participants