From 2837ddb7103fe0b0d8608ecf64cf8471a680f5b3 Mon Sep 17 00:00:00 2001 From: meilinxiaoxue Date: Fri, 16 Sep 2022 14:59:11 +0800 Subject: [PATCH] bugfix: i_CTRL-@ works now --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 6384c0f0..edbcb675 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -166,6 +166,10 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { NvimSendInput(context->nvim, ""); return 0; } + if (wparam == 0x00) { + NvimSendInput(context->nvim, ""); + return 0; + } NvimSendChar(context->nvim, static_cast(wparam)); } return 0; case WM_SYSCHAR: {