From f032b15b3ec0d0e2794f0e12b444154bdebb41cb Mon Sep 17 00:00:00 2001 From: Shylie Date: Wed, 27 Dec 2023 14:18:07 -0500 Subject: [PATCH] Don't send shift key events --- source/terml_windows.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/terml_windows.cpp b/source/terml_windows.cpp index 69fc54e..d5b1bff 100644 --- a/source/terml_windows.cpp +++ b/source/terml_windows.cpp @@ -81,7 +81,10 @@ void terml_windows::process_events() { for (int repeat = 0; repeat < record->wRepeatCount; repeat++) { - key_event(record->uChar.AsciiChar); + if (record->uChar.AsciiChar) + { + key_event(record->uChar.AsciiChar); + } } } break;