Skip to content

fix(stream): collapse terminal redraw controls#2581

Open
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2230-terminal-control
Open

fix(stream): collapse terminal redraw controls#2581
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2230-terminal-control

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • collapse common terminal redraw controls before captured output reaches filters
  • handle carriage-return progress rewrites and backspace overwrites for exec_capture and run_streaming capture/filter paths
  • preserve normal CRLF line endings while avoiding transient progress/spinner states in model-facing output

Fixes #2230

Verification

  • cargo +1.93.0 fmt --check
  • git diff --check
  • cargo +1.93.0 test core::stream::tests -- --nocapture
  • cargo +1.93.0 clippy --all-targets
  • cargo +1.93.0 test --all -- --skip small_grep_not_worse_than_plain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(filtering): remove terminal output overwritten by control flow (\r and \b)

1 participant