diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index f00c936..0886930 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs | |||
@@ -7,8 +7,10 @@ use crate::habit::HabitWrapper; | |||
7 | 7 | ||
8 | mod impl_self; | 8 | mod impl_self; |
9 | mod impl_view; | 9 | mod impl_view; |
10 | mod message; | ||
10 | 11 | ||
11 | pub struct StatusLine(String, String); | 12 | pub struct StatusLine(String, String); |
13 | pub use message::{Message, MessageKind}; | ||
12 | 14 | ||
13 | pub struct App { | 15 | pub struct App { |
14 | // holds app data | 16 | // holds app data |
@@ -18,6 +20,7 @@ pub struct App { | |||
18 | file_event_recv: Receiver<DebouncedEvent>, | 20 | file_event_recv: Receiver<DebouncedEvent>, |
19 | focus: usize, | 21 | focus: usize, |
20 | view_month_offset: u32, | 22 | view_month_offset: u32, |
23 | message: Message, | ||
21 | } | 24 | } |
22 | 25 | ||
23 | impl Default for App { | 26 | impl Default for App { |