- RAII guard owns alternate screen + raw mode lifecycle - Drop guarantees cleanup even on panic — replaces panic hook - Consolidates 6 ad-hoc methods into leave_for_turn/reenter_after_turn - main.rs uses guard-based lifecycle instead of suspend/resume The panic hook in tui_update is no longer needed for cleanup — the guard's Drop fires on panic and restores terminal state. |
||
|---|---|---|
| .. | ||
| tui | ||
| agent_view.rs | ||
| chat_mode.rs | ||
| command_palette.rs | ||
| init.rs | ||
| input.rs | ||
| keybindings.rs | ||
| main.rs | ||
| markdown.rs | ||
| render.rs | ||
| setup_wizard.rs | ||
| theme.rs | ||
| tui_error.rs | ||
| tui_update.rs | ||