Expand description
The display subsystem including window management, font rasterization, and GPU drawing.
Modules
Structs
- The display wraps a window, font rasterizer, and GPU renderer.
- The frame timer state.
- Input method state.
- Pending renderer updates.
- Struct for safe in-place replacement.
- Terminal size info.
Enums
Constants
- Label for the backward terminal search bar.
- Color which is used to highlight damaged rects when debugging.
- Label for the forward terminal search bar.
- The character used to shorten the visible text like uri preview or search regex.
Functions
- Calculate the cell dimensions based on font metrics.
- Calculate the size of the window given padding, terminal dimensions and cell size.