aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-18 16:37:06 +0100
committerAkshay <[email protected]>2020-07-18 16:37:06 +0100
commit6efda9445a89ccbe30aff30f846119129bf3e53c (patch)
treeabf22b8a73e49815d544bfe8f9e25021d1eba649 /src/app/mod.rs
parent0b4af96a515d51c409c6dafef406542dee9da3d4 (diff)
fix reexports
Diffstat (limited to 'src/app/mod.rs')
-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 {