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:
@@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user