claw-code/rust/crates/rusty-claude-cli/src
TheArchitectit 99c4650ac7 fix(tui): add post-turn screen clear + redraw to eliminate output bleeding
The run_turn_to buffer + emit_output=false was correctly wired,
but runtime internals (child process stderr, tokio tracing, or
unstructured error paths) can still write to the real terminal fd.

Added a crossterm Clear(All) + MoveTo(0,0) after each turn to wipe
any stdout debris that may have landed on the alternate screen,
followed by a full TUI redraw to re-render both panes cleanly.

This is the belt-and-suspenders approach: buffer captures what we can,
screen clear catches what we can't.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 10:48:27 -05:00
..
agent_view.rs feat(tui): Sprint 6 — Agent View overlay with session monitoring 2026-06-11 19:19:38 -05:00
chat_mode.rs feat(tui): Sprint 5 — chat modes, /diff, /undo, /ls commands 2026-06-11 19:15:02 -05:00
command_palette.rs fix(tui): test fix, theme migration, zero hardcoded colors in rendering 2026-06-12 10:25:11 -05:00
init.rs fix: scaffold safe init settings 2026-06-04 15:34:15 +09:00
input.rs feat: agent teams with task claiming, context management, and team monitoring 2026-06-10 16:49:34 -05:00
keybindings.rs feat(tui): Sprint 4 — keybindings with presets + command palette 2026-06-11 19:12:36 -05:00
main.rs fix(tui): add post-turn screen clear + redraw to eliminate output bleeding 2026-06-12 10:48:27 -05:00
markdown.rs fix(tui): test fix, theme migration, zero hardcoded colors in rendering 2026-06-12 10:25:11 -05:00
render.rs Remove the deprecated Claude subscription login path and restore a green Rust workspace 2026-04-11 17:24:44 +00:00
setup_wizard.rs fix: resolve rebase conflicts, clean TUI alignment, and sync with upstream 2026-06-11 10:03:16 -05:00
theme.rs feat(tui): Sprint 3 — theme system with 11 built-in themes 2026-06-11 19:08:30 -05:00
tui.rs fix(tui): test fix, theme migration, zero hardcoded colors in rendering 2026-06-12 10:25:11 -05:00
tui_error.rs feat(tui): Sprint 0 complete — panic hook, resize, TuiError, unicode-width 2026-06-11 18:42:21 -05:00
tui_update.rs fix(tui): Sprint 1 — ProviderSwap fix, status race, memory bound, token tracking 2026-06-11 18:49:15 -05:00