RMichelsen / Nvy

Nvy - A Neovim client in C++
MIT License
333 stars 28 forks source link

Fix key combinations that include CTRL and/or OEM keys #95

Closed Zorbn closed 1 year ago

Zorbn commented 1 year ago

WM_CHAR translates virtual keys correctly by itself. For key combinations with CTRL we can't use WM_CHAR so we have to map virtual keys to characters manually. With these changes, all OEM virtual keys are now translated to their character equivalents using the correct locale.

Zorbn commented 1 year ago

This should fix #93.

RMichelsen commented 1 year ago

Works on my end as well, merging!