Feedback
Indicators
Render badges, dividers, gauges, key-value rows, and status lines.
The site build compiles the dedicated Ada component example, constructs Indicators through its public API, and exports that exact styled surface. Read the capture source.
When to use it
Use indicators for compact, read-only state that must remain legible beside interactive controls.
State and ownership
The Flyology_TUI.Components.Indicators package defines this component.
Indicator renderers are stateless. Status-line capacity is explicit and rejected before partial output.
- Indicator functions retain no model state.
- The caller supplies values, width, and appearance for each render.
Behavior
Indicators do not take focus or consume events.
Integration sequence
- Create or update the caller-owned values that the renderer reads.
- Borrow the values and appearance required by the selected render function.
- Place the returned surface in the current layout. Do not route input to this component.
See the linked package reference for its exact declarations and contracts.
Responsive and accessible behavior
- Use dimensions and regions from the current layout or presentation value.
- Retain a glyph, label, border, or text-attribute cue when the terminal reduces color.