Expand description
CAI TUI - Terminal UI
Interactive terminal interface for querying and exploring AI coding history.
§Features
- Query input with history navigation
- Scrollable results table with sorting
- Real-time status updates
- Keyboard shortcuts (q=quit, /=search, etc.)
§Example
use cai_tui::run;
// Create a storage implementation (MemoryStorage, SqliteStorage, etc.)
// and pass it to the run function
// let storage = ...;
// run(storage).await?;Structs§
- App
- Main TUI application
- Event
Handler - Event handler for terminal events
Enums§
- AppState
- Application state
- Column
- Sortable column
- Event
- Terminal event
- Mode
- Application mode
- Sort
Order - Sort order
Functions§
- run
- Run the TUI application
Type Aliases§
- Result
- Result type for CAI operations