change event to event_handler
This commit is contained in:
parent
5795d00831
commit
f2b9051489
|
|
@ -14,7 +14,7 @@ pub mod list;
|
|||
pub mod browser;
|
||||
|
||||
/// Event Handler/ keymaps
|
||||
pub mod event;
|
||||
pub mod event_handler;
|
||||
|
||||
/// Application
|
||||
pub mod app;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
use ratatui::prelude::*;
|
||||
use rmptui::app::App;
|
||||
use rmptui::app::AppResult;
|
||||
use rmptui::event::event::Event;
|
||||
use rmptui::event::event::EventHandler;
|
||||
use rmptui::event::handler;
|
||||
use rmptui::event_handler::event::Event;
|
||||
use rmptui::event_handler::event::EventHandler;
|
||||
use rmptui::event_handler::handler;
|
||||
use rmptui::tui;
|
||||
use std::env;
|
||||
use std::io;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ use crossterm::terminal::{self, *};
|
|||
use std::panic;
|
||||
|
||||
use crate::app::{App, AppResult};
|
||||
use crate::event::event::EventHandler;
|
||||
use crate::event_handler::event::EventHandler;
|
||||
|
||||
pub type CrosstermTerminal = ratatui::Terminal<ratatui::backend::CrosstermBackend<std::io::Stderr>>;
|
||||
|
||||
|
|
|
|||
Reference in New Issue