fixup! fixup! Implement support for native keyboard layout

This commit is contained in:
Gustaf Alhäll 2023-03-29 18:58:18 +02:00
parent 6896080f4f
commit b8f8cc1451
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

@ -951,7 +951,7 @@ boolean CON_Responder(event_t *ev)
// check other keys only if console prompt is active // check other keys only if console prompt is active
if (!consoleready && key < NUMINPUTS) // metzgermeister: boundary check!! if (!consoleready && key < NUMINPUTS) // metzgermeister: boundary check!!
{ {
if (!menuactive && bindtable[key]) if (ev->type == ev_keydown && !menuactive && bindtable[key])
{ {
COM_BufAddText(bindtable[key]); COM_BufAddText(bindtable[key]);
COM_BufAddText("\n"); COM_BufAddText("\n");