aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/mod.rs3
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
8mod impl_self; 8mod impl_self;
9mod impl_view; 9mod impl_view;
10mod message;
10 11
11pub struct StatusLine(String, String); 12pub struct StatusLine(String, String);
13pub use message::{Message, MessageKind};
12 14
13pub struct App { 15pub 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
23impl Default for App { 26impl Default for App {