Add cursor to textarea
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
use std::any::Any;
|
||||
mod main_view;
|
||||
|
||||
use crossterm::event::{Event, KeyEvent};
|
||||
|
||||
pub mod main_view;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum AppStatus {
|
||||
Running,
|
||||
Exiting,
|
||||
Input
|
||||
}
|
||||
pub use main_view::MainView;
|
||||
|
||||
pub trait View {
|
||||
fn handle_input(&mut self, event: &Event) -> color_eyre::Result<()>;
|
||||
|
||||
Reference in New Issue
Block a user