rogueviz:: vertex search improvements

This commit is contained in:
Zeno Rogue 2022-10-21 12:47:49 +02:00
parent 29ba4138a4
commit bcadbdbcab
1 changed files with 2 additions and 1 deletions

View File

@ -1054,11 +1054,12 @@ void showVertexSearch() {
dialog::addBreak(50);
dialog::addSelItem("matching items", its(isize(dialog::v)), 0);
dialog::addInfo(XLAT("press letters to search"));
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();
};