aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/impl_self.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/impl_self.rs b/src/app/impl_self.rs
index 5cd9616..ce99702 100644
--- a/src/app/impl_self.rs
+++ b/src/app/impl_self.rs
@@ -249,6 +249,7 @@ impl App {
249 "tdown" | "track-down" => "track-down <auto-habit-name> (alias: tdown)", 249 "tdown" | "track-down" => "track-down <auto-habit-name> (alias: tdown)",
250 "q" | "quit" => "quit dijo", 250 "q" | "quit" => "quit dijo",
251 "w" | "write" => "write current state to disk (alias: w)", 251 "w" | "write" => "write current state to disk (alias: w)",
252 "wq" | "writeandquit" => "write current state to disk and quit dijo (alias: wq)",
252 "h"|"?" | "help" => "help [<command>|commands|keys] (aliases: h, ?)", 253 "h"|"?" | "help" => "help [<command>|commands|keys] (aliases: h, ?)",
253 "cmds" | "commands" => "add, add-auto, delete, month-{prev,next}, track-{up,down}, help, quit", 254 "cmds" | "commands" => "add, add-auto, delete, month-{prev,next}, track-{up,down}, help, quit",
254 "keys" => "TODO", // TODO (view?) 255 "keys" => "TODO", // TODO (view?)
@@ -260,6 +261,7 @@ impl App {
260 self.message.set_message("help <command>|commands|keys") 261 self.message.set_message("help <command>|commands|keys")
261 } 262 }
262 } 263 }
264 Command::WriteAndQuit => self.save_state(),
263 Command::Quit | Command::Write => self.save_state(), 265 Command::Quit | Command::Write => self.save_state(),
264 Command::MonthNext => self.sift_forward(), 266 Command::MonthNext => self.sift_forward(),
265 Command::MonthPrev => self.sift_backward(), 267 Command::MonthPrev => self.sift_backward(),