Expand description
The display subsystem including window management, font rasterization, and GPU drawing.
Modulesยง
- bell ๐
- color
- content
- cursor
- Convert a cursor into an iterator of rects.
- damage ๐
- hint
- meter ๐
- Rendering time meter.
- window
Structsยง
- Display
- The display wraps a window, font rasterizer, and GPU renderer.
- Display
Update - Frame
Timer - The frame timer state.
- Ime
- Input method state.
- Preedit
- Renderer
Update - Pending renderer updates.
- Replaceable ๐
- Struct for safe in-place replacement.
- Size
Info - Terminal size info.
Enumsยง
Constantsยง
- BACKWARD_
SEARCH_ ๐LABEL - Label for the backward terminal search bar.
- DAMAGE_
RECT_ ๐COLOR - Color which is used to highlight damaged rects when debugging.
- FORWARD_
SEARCH_ ๐LABEL - Label for the forward terminal search bar.
- SHORTENER ๐
- The character used to shorten the visible text like uri preview or search regex.
Functionsยง
- compute_
cell_ ๐size - Calculate the cell dimensions based on font metrics.
- window_
size ๐ - Calculate the size of the window given padding, terminal dimensions and cell size.