aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/impl_view.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/impl_view.rs b/src/app/impl_view.rs
index acc387e..b735003 100644
--- a/src/app/impl_view.rs
+++ b/src/app/impl_view.rs
@@ -165,6 +165,10 @@ impl View for App {
165 self.message.write().unwrap().set_kind(MessageKind::Info); 165 self.message.write().unwrap().set_kind(MessageKind::Info);
166 return EventResult::Consumed(None); 166 return EventResult::Consumed(None);
167 } 167 }
168 Event::CtrlChar('c') => {
169 self.message.write().unwrap().set_message("Use the :q command to quit");
170 return EventResult::Consumed(None);
171 }
168 172
169 /* Every keybind that is not caught by App trickles 173 /* Every keybind that is not caught by App trickles
170 * down to the focused habit. We sift back to today 174 * down to the focused habit. We sift back to today