mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-16 11:08:05 +00:00
restructured menus
This commit is contained in:
@@ -89,6 +89,8 @@ namespace dialog {
|
||||
add_key_action(lastItem().key, action);
|
||||
}
|
||||
|
||||
void add_action_push(const reaction_t& action) { add_action([action] { pushScreen(action); }); }
|
||||
|
||||
void handler(int sym, int uni) {
|
||||
dialog::handleNavigation(sym, uni);
|
||||
if(doexiton(sym, uni)) popScreen();
|
||||
|
||||
Reference in New Issue
Block a user