correct text handling in SDL2

This commit is contained in:
Zeno Rogue committed 2024-06-28 12:20:26 +02:00
1 parent 920ed4bb86
commit 8a45b7e1e7
5 files changed
+74 -11

No files matched your search

+1
View File
@@ -1520,6 +1520,7 @@ EX void show() {
dialog::addBack();
dialog::display();
se.handle_textinput();
keyhandler = [] (int sym, int uni) {
if(symbol_editing && sym == SDLK_RETURN) sym = uni = '/';
dialog::handleNavigation(sym, uni);