diff options
author | Akshay <[email protected]> | 2021-02-21 05:13:32 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-02-21 05:13:32 +0000 |
commit | 38d9dfee224ebcd088c0ebecd9e1243994eea409 (patch) | |
tree | 1215766f07b1c2eaf68f20aba284e710eb9a24a3 /src/app/mod.rs | |
parent | ad5bf181a176e64c9f70a292cad870e6e8110f09 (diff) | |
parent | 53f7a679a0cf7a510de13d67cf370988f71c0d08 (diff) |
Merge branch 'cursor' into master
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r-- | src/app/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index 2aecb33..726a656 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs | |||
@@ -5,11 +5,13 @@ use notify::{DebouncedEvent, RecommendedWatcher}; | |||
5 | 5 | ||
6 | use crate::habit::HabitWrapper; | 6 | use crate::habit::HabitWrapper; |
7 | 7 | ||
8 | mod cursor; | ||
8 | mod impl_self; | 9 | mod impl_self; |
9 | mod impl_view; | 10 | mod impl_view; |
10 | mod message; | 11 | mod message; |
11 | 12 | ||
12 | pub struct StatusLine(String, String); | 13 | pub struct StatusLine(String, String); |
14 | pub use cursor::Cursor; | ||
13 | pub use message::{Message, MessageKind}; | 15 | pub use message::{Message, MessageKind}; |
14 | 16 | ||
15 | pub struct App { | 17 | pub struct App { |
@@ -19,7 +21,7 @@ pub struct App { | |||
19 | _file_watcher: RecommendedWatcher, | 21 | _file_watcher: RecommendedWatcher, |
20 | file_event_recv: Receiver<DebouncedEvent>, | 22 | file_event_recv: Receiver<DebouncedEvent>, |
21 | focus: usize, | 23 | focus: usize, |
22 | view_month_offset: u32, | 24 | cursor: Cursor, |
23 | message: Message, | 25 | message: Message, |
24 | } | 26 | } |
25 | 27 | ||