1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

fixed '?' not working in Seuphorica (although in SDL2 it would be better to actually use SDL2 text input)

This commit is contained in:
Zeno Rogue
2025-10-10 11:23:48 +02:00
parent 1cb150ca8b
commit e145de89b1

View File

@@ -1166,6 +1166,7 @@ void seuphorica_dictionary() {
dialog::addHelp(fix(str_dict_help));
keyhandler = [] (int sym, int uni) {
if(uni == '/') uni = '?';
if(among(uni, '$', '?', '.')) { dialog::infix += uni; return; }
dialog::handleNavigation(sym, uni);
if(dialog::editInfix(uni)) dialog::list_skip = 0;