pass AppAction back to app

This commit is contained in:
alice pellerin
2026-03-19 03:38:19 -05:00
parent 0f11fb9273
commit 4f61f2fb93
5 changed files with 63 additions and 58 deletions
+4 -4
View File
@@ -99,8 +99,8 @@ impl Default for Config {
[
(Mode::Normal, [
(None, [
("q".try_into().unwrap(), Action::CloseIfSaved),
("Q".try_into().unwrap(), Action::Close),
("q".try_into().unwrap(), Action::QuitIfSaved),
("Q".try_into().unwrap(), Action::Quit),
("v".try_into().unwrap(), Action::SelectMode),
@@ -151,8 +151,8 @@ impl Default for Config {
].into()),
(Mode::Select, [
(None, [
("q".try_into().unwrap(), Action::CloseIfSaved),
("Q".try_into().unwrap(), Action::Close),
("q".try_into().unwrap(), Action::QuitIfSaved),
("Q".try_into().unwrap(), Action::Quit),
("v".try_into().unwrap(), Action::NormalMode),