Expand description
Terminal rendering
Double buffering and efficient diff-based updates.
§Architecture
The rendering system is composed of:
- Backend: Low-level terminal I/O abstraction (
backendmodule) - Buffer: Double-buffered screen state
- Cell: Individual terminal cell with character, colors, and modifiers
- Terminal: High-level renderer that uses diff-based updates
Re-exports§
pub use backend::Backend;pub use backend::BackendCapabilities;pub use backend::CrosstermBackend;
Modules§
- backend
- Terminal backend abstraction
Structs§
- Batch
Stats - Statistics for render batches
- Buffer
- A buffer holding the terminal state
- Cell
- A single cell in the terminal buffer
- Change
- A change to be applied to the terminal
- Modifier
- Modifier flags for cell styling (1 byte instead of 5)
- Render
Batch - Batched render operations
- Terminal
- Terminal backend for rendering
Enums§
- Render
Op - A single render operation
Functions§
- diff
- Compute the differences between two buffers within specified dirty regions.
- stdout_
terminal - Create a terminal with stdout