Expand description
Bottom status-bar renderer.
The status bar is the dense one-liner that summarises the agent’s current connection, model, token usage, cost, turn counter and per-turn elapsed time. It is rendered below the transcript on the chat screen.
Format (segments separated by │):
local │ deepseek-chat │ ↑1.2k ↓342 $0.0024 │ turn 3 │ ⏱ 2.3sCost is omitted when the model has no pricing entry in providers.toml;
elapsed time is shown only while a turn is running.
Functions§
- build_
line - Public for tests — produces the styled
Linewithout rendering. - render
- Build the styled status-bar paragraph for the given
App.