pub fn run(app: impl App) -> Result<()>Expand description
Runs your application.
This will begin listening for keyboard events, and dispatching them to your application.
These keyboard events are handled by crossterm, and are fed into your update function as Messages.
You can access these keyboard events by simply downcasting them into a crossterm::event::KeyEvent.
rustea exports crossterm, so you can simply access it with use rustea::crossterm.