Skip to main content

Module live

Module live 

Source
Expand description

Live prompt and focused-surface row builders.

The live chrome is rebuilt after dirty updates and composed into the full viewport by super::alternate::AlternateViewport.

Constants§

MAX_ACCESSORY_ROWS
Maximum accessory rows (help/commands/files) shown in the live region.
MAX_PROMPT_ROWS
Maximum rows the prompt input can occupy before scrolling within the live region.

Functions§

accessory_rows
Build accessory rows (help, commands, or file picker) if active.
composer_frame_height
Number of horizontal frame rows reserved by the composer at this width.
detail_pane_rows
Build detail pane rows for the expanded tool entry.
frame_prompt_rows
Add the horizontal frame around already-wrapped prompt body rows.
prompt_rows_for
Build prompt input rows from app state.
queued_summary_row
Build a queued-prompt summary row when steering or follow-up prompts are pending.
static_status_row
Build the static status row (model/reasoning/search/tokens/cwd) below the prompt.