Expand description
Re-exports§
pub extern crate crossterm;
Modules§
Structs§
- Resize
Event - Event representing a terminal resize (x, y). Boxed as a message so it can be sent to the application.
Traits§
- App
- The trait your model must implement in order to be
run
.
Functions§
- enable_
mouse_ capture - Enables mouse capture events on your application.
- run
- Runs your application.
Type Aliases§
- Command
- A boxed function or closure that performs computations and optionally dispatches messages. All commands are processed in their own threads, so blocking commands are totally fine. Frequently, data needs to be passed to commands. Since commands take no arguments, a common solution to this is to build constructor functions.
- Message
- Any boxed type that may or may not contain data.
They are fed to your applications
update
method to tell it how and what to update.