Claude
|
7c34488042
|
feat(tui): Sprint 0 complete — panic hook, resize, TuiError, unicode-width
- S0-2: install_panic_hook() restores terminal on crash (disable raw mode,
leave alt screen, show cursor) before printing panic message
- S0-3: Handle Event::Resize in TUI event loop via mark_resize()
- S0-4: Add unicode-width = "0.2" dependency for CJK-aware wrapping
- S0-5: Create src/tui_error.rs with TuiError enum (Io, Terminal, Runtime, Config)
- Wire panic hook into run_tui_repl with clean restore on exit
- Deprecation warnings fixed (PanicHookInfo instead of PanicHookInfo)
108 tests pass. 1 pre-existing failure (sandbox status contract) unrelated.
Authored by TheArchitectit
|
2026-06-11 18:42:21 -05:00 |