Expand description
Terminal layout with ANSI scrolling regions
Provides a split terminal layout:
- Scrollable content area (top) - for tool output, thinking, responses
- Fixed status line - for progress indicator
- Fixed input line - always visible prompt
Uses ANSI escape codes for scroll regions, compatible with most terminals.
Modules§
- escape
- ANSI escape codes for scroll region control
Structs§
- Layout
State - Shared state for terminal layout
- Terminal
Layout - Terminal layout manager with scroll regions
Functions§
- print_
to_ scroll_ region - Print content to the scroll region (normal output area) This ensures output goes to the right place when layout is active
- println_
to_ scroll_ region - Println to the scroll region