aboutsummaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.rs b/src/command.rs
index f94eab8..d25608f 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -21,6 +21,7 @@ pub enum Command {
21 MonthPrev, 21 MonthPrev,
22 MonthNext, 22 MonthNext,
23 Delete(String), 23 Delete(String),
24 Quit,
24 Blank, 25 Blank,
25} 26}
26 27
@@ -53,6 +54,7 @@ impl Command {
53 } 54 }
54 "mprev" | "month-prev" => return Command::MonthPrev, 55 "mprev" | "month-prev" => return Command::MonthPrev,
55 "mnext" | "month-next" => return Command::MonthNext, 56 "mnext" | "month-next" => return Command::MonthNext,
57 "q" | "quit" => return Command::Quit,
56 _ => return Command::Blank, 58 _ => return Command::Blank,
57 } 59 }
58 } 60 }