Skip to content

Commit

Permalink
Merge pull request #60 from meilinxiaoxue/master
Browse files Browse the repository at this point in the history
bug fix for special key in insert mode
  • Loading branch information
RMichelsen committed Sep 21, 2022
2 parents 0f53d69 + f0e57db commit 45aecd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
NvimSendInput(context->nvim, "<LT>");
return 0;
}
if (wparam == 0x00) {
NvimSendInput(context->nvim, "<Nul>");
return 0;
}
NvimSendChar(context->nvim, static_cast<wchar_t>(wparam));
} return 0;
case WM_SYSCHAR: {
Expand Down

0 comments on commit 45aecd4

Please sign in to comment.