Don't send shift key events
This commit is contained in:
parent
8830cb2a76
commit
f032b15b3e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user