Re-exports§
pub use draw::DrawCommunicator::DrawCommunicator;
pub use draw::DrawCommunicator::DrawHandler;
pub use draw::DrawTerminal::DrawTerminal;
pub use draw::Text::Text;
pub use terminal::run;
pub use terminal::CursorConfig;
pub use terminal::DrawObjectTrait;
pub use terminal::DrawTrait;
pub use terminal::Terminal;
pub use terminal::TerminalsEvents;
pub use terminal::Vector2;
pub use utils::*;
pub use Color::*;
Modules§
- A module to read events.
Macros§
- Configure an object and draw it
- Executes the function if the key is pressed
- Executes the function if it is pressed, otherwise if another function is supplied it will execute it
- executes the function if the pressed key rises
- executes the function if the pressed key rises or if you have another function it will execute it otherwise
- Executes the function if the key is pressed repeatedly
- It executes the function if a key is pressed repeatedly, otherwise if it was provided, the other function will be executed.
- Create a
text
with the possiblearguments
: - Create a
Vector2
Structs§
- A command that disables bracketed paste mode.
- A command that disables focus event emission.
- A command that disables mouse event capturing.
- A command that enables bracketed paste mode.
- A command that enables focus event emission.
- A command that enables mouse event capturing.
- Represents a key event.
- Represents extra state about the key event.
- Represents key modifiers (shift, control, alt, etc.).
- Represents special flags that tell compatible terminals to add extra information to keyboard events.
- Represents a mouse event.
- A command that disables extra kinds of keyboard events.
- A command that enables the kitty keyboard protocol, which adds extra information to keyboard events and removes ambiguity for modifier keys.
Enums§
- Represents a color.
- Represents an event.
- Represents a key.
- Represents a keyboard event kind.
- Represents a media key (as part of
KeyCode::Media
). - Represents a modifier key (as part of
KeyCode::Modifier
). - Represents a mouse button.
- A mouse event kind.
- A command that sets the style of the cursor. It uses two types of escape codes, one to control blinking, and the other the shape.