Expand description
This module helps to abstract away the rendering of the prompts to the terminal.
It consists of the multiple traits:
Engine
trait, that represents the backend which draws content on the screen and handles the input;CommandBuffer
trait that represents the set of rendering commands to display the given prompt.Clear
trait that is complemetary to theCommandBuffer
and allows to clear its contents
Submodules are meant to implement the above traits using terminal manipulation libraries
Structs§
- Crossterm
Engine - Terminal handing backend implemented with the crossterm crate
Traits§
- Clear
- Suplementary trait to the
CommandBuffer
- Command
Buffer - Represents the set of rendering commands
- Engine
- Represents the backend to draw prompts on the screen and handle input