Skip to main content

Crate term_ui

Crate term_ui 

Source
Expand description

UI part of the WorkBuddy application

ModulesΒ§

wrap πŸ”’
Row counting for the input TextArea.

StructsΒ§

AgentState πŸ”’
Overall state for an agent (main agent or subagent), including its view
AgentStatsDisplay πŸ”’
Helper struct to display agent/client stats
SubagentState πŸ”’
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 HistoryEntryType into the corresponding ratatui styles
set_up_term πŸ”’
Basic terminal set-up
tear_down_term πŸ”’
Basic terminal tear-down