mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-17 18:49:43 +00:00
changemode uses the new dialogkey system
This commit is contained in:
@@ -146,6 +146,8 @@ EX namespace dialog {
|
||||
|
||||
EX void add_action_push(const reaction_t& action) { add_action([action] { pushScreen(action); }); }
|
||||
|
||||
EX void add_action_push_clear(const reaction_t& action) { add_action([action] { clearMessages(); pushScreen(action); }); }
|
||||
|
||||
EX void handler(int sym, int uni) {
|
||||
dialog::handleNavigation(sym, uni);
|
||||
if(doexiton(sym, uni)) popScreen();
|
||||
|
||||
Reference in New Issue
Block a user