Structs§
- Cool
Input - The main input type. Uses a custom input handler (a struct which implements CustomInputHandler)
- Default
Input Handler - A basic default input handler that implements all default functions of the CustomInputHandler trait.
- Handler
Context - Context given to CustomInputHandler
- Input
Transform - Struct for size and offset of an input
- Text
Input Data - Handles key presses, writing text, and moving the cursor
Enums§
- KeyPress
Result - Returned by CustomInputHandler’s handle_key_press to signal how the key event should be handled.
Traits§
- Custom
Input Handler - Trait that allows custom implementations / behaviour of an input
Functions§
- set_
terminal_ line - Helper function to draw text to the screen by a coordinate