mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 16:57:56 +00:00
correct text handling in SDL2
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user