Don't send shift key events

This commit is contained in:
Shylie 2023-12-27 14:18:07 -05:00
parent 8830cb2a76
commit f032b15b3e

View File

@ -80,10 +80,13 @@ void terml_windows::process_events()
if (record->bKeyDown) if (record->bKeyDown)
{ {
for (int repeat = 0; repeat < record->wRepeatCount; repeat++) for (int repeat = 0; repeat < record->wRepeatCount; repeat++)
{
if (record->uChar.AsciiChar)
{ {
key_event(record->uChar.AsciiChar); key_event(record->uChar.AsciiChar);
} }
} }
}
break; break;
} }