pub mod input;
use crate::{render::Renderer, ui::UiContext, utils::Size};
use input::KeyboardInput;
pub mod prelude {
pub use super::{
Event,
KeyCode,
KeyEventKind,
};
pub use super::input::*;
}
pub use crossterm::event::{KeyCode, KeyEventKind};
pub enum Event<'a> {
Input(KeyboardInput), Resize(Size), Update, Render(&'a mut Renderer), DrawUi(&'a mut UiContext), }