Expand description
Pango-markup rendering for the Anthropic widget — both the bar text and the bordered tooltip.
Closely mirrors claudebar:625-860. Pure functions over an immutable
RenderInput so all of the visual logic is unit-testable without I/O.
Structs§
- Render
Input - All inputs needed to render the widget — packaged so tests can construct it without any I/O.
Constants§
- DEFAULT_
FORMAT - Default format string when
--formatis omitted (claudebar:55).
Functions§
- render_
anthropic - Compose the full Waybar output for an Anthropic snapshot.