changemode uses the new dialogkey system

This commit is contained in:
Zeno Rogue committed 2021-03-06 11:00:36 +01:00
1 parent 970d65c71a
commit 009e1e2eb4
2 files changed
+44 -63

No files matched your search

+2
View File
@@ -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();