Expand description
UI part of the WorkBuddy application
ModulesΒ§
- wrap π
- Row counting for the input
TextArea.
StructsΒ§
- Agent
State π - Overall state for an agent (main agent or subagent), including its view
- Agent
Stats πDisplay - Helper struct to display agent/client stats
- Subagent
State π - Additional information about subagents
- TermUi
- UI state for WorkBuddy
- UiAgents π
- Data for the agents currently running
StaticsΒ§
- TERM_
SET_ πUP - Counts users of the ratatui terminal (honestly only should be one or noneβ¦)
FunctionsΒ§
- history_
into_ πratatui_ lines - Helper function to convert the given iterator of
HistoryEntryType-annotated lines into ratatui lines. - ratatui_
style π - Converts a
HistoryEntryTypeinto the corresponding ratatui styles - set_
up_ πterm - Basic terminal set-up
- tear_
down_ πterm - Basic terminal tear-down