diff --git a/src/readline.c b/src/readline.c index b20f0d69..775f3459 100644 --- a/src/readline.c +++ b/src/readline.c @@ -1152,7 +1152,13 @@ byte Readline_ex_unicode(word x_pos, word y_pos, char * str, word * str_unicode, } break; default : + // SDL2 keystrokes are reported through both Key_Text and + // Key_ANSI / Key_UNICODE +#if defined(USE_SDL2) + if (use_virtual_keyboard && size