1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-14 01:58:06 +00:00

dialog:: improvements to list dialogs

This commit is contained in:
Zeno Rogue
2022-10-21 12:47:20 +02:00
parent 06f450af22
commit 29ba4138a4
6 changed files with 16 additions and 21 deletions

View File

@@ -1734,12 +1734,13 @@ EX namespace mapeditor {
dialog::end_list();
dialog::addBreak(50);
dialog::addInfo(XLAT("press letters to search"));
dialog::addBack();
dialog::display();
keyhandler = [] (int sym, int uni) {
dialog::handleNavigation(sym, uni);
if(dialog::editInfix(uni)) ;
if(dialog::editInfix(uni)) dialog::list_skip = 0;
else if(doexiton(sym, uni)) popScreen();
};
}