summaryrefslogtreecommitdiffstats
path: root/src/app/mod.rs
diff options
context:
space:
mode:
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 2aecb33..9432f0d 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -5,11 +5,13 @@ use notify::{DebouncedEvent, RecommendedWatcher};
use crate::habit::HabitWrapper;
+mod cursor;
mod impl_self;
mod impl_view;
mod message;
pub struct StatusLine(String, String);
+pub use cursor::Cursor;
pub use message::{Message, MessageKind};
pub struct App {
@@ -20,6 +22,7 @@ pub struct App {
file_event_recv: Receiver<DebouncedEvent>,
focus: usize,
view_month_offset: u32,
+ cursor: Cursor,
message: Message,
}