Skip to main content

Module interactive

Module interactive 

Source
Expand description

Interactive TUI mode using opi-tui for terminal rendering.

The agent prompt runs in a spawned tokio task while the TUI render loop continues to poll crossterm events and redraw at ~20 fps. Agent callbacks update shared TuiState, which the render loop reads each frame.

Functionsยง

run_interactive_tui