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

Issue 170: Send <C-6> as <C-^> #682

Merged
merged 1 commit into from
Jun 14, 2020
Merged

Conversation

jgehrig
Copy link
Collaborator

@jgehrig jgehrig commented Apr 16, 2020

Issue #170:

The key event should be sent as <C-^>. When other modifiers are present (Shift, Meta) they should be ignored. For example, <C-S-^> should be <C-^> instead.

The key event <C-6> should be sent as <C-^>. When other modifiers are present
(Shift, Meta) they should be ignored. For example, <C-S-^> should be <C-^>
instead.
@jgehrig
Copy link
Collaborator Author

jgehrig commented May 8, 2020

@equalsraf

This one is ready. The behavior isn't exactly the same as nvim, but it is a step in the right direction, as we no longer send invalid input such as <C-S-^>.

On Window/Mac, there are some small input differences with nvim. We are slightly more aggressive in sending <C-^>, for example on Mac Ctrl + 6 in nvim may not trigger <C-^>; Ctrl + Shift + 6 is required.

The test failures are not related... I just ran tst_msgpackiodevice on Mac successfully.

@jgehrig jgehrig mentioned this pull request Jun 7, 2020
@equalsraf equalsraf merged commit 4dba7dd into equalsraf:master Jun 14, 2020
@jgehrig jgehrig deleted the jg-issue170 branch June 20, 2020 11:52
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