Skip to content

fix(ui): normalize shell output carriage returns#26426

Merged
Hona merged 1 commit intoanomalyco:devfrom
Hona:fix/web-shell-carriage-returns
May 9, 2026
Merged

fix(ui): normalize shell output carriage returns#26426
Hona merged 1 commit intoanomalyco:devfrom
Hona:fix/web-shell-carriage-returns

Conversation

@Hona
Copy link
Copy Markdown
Member

@Hona Hona commented May 9, 2026

Summary

  • Normalize carriage returns in web shell output so progress-style command output renders as separate lines.
  • Matches the TUI-style display path without adding terminal emulation.

Test

  • bun typecheck from packages/ui in the main worktree

Copilot AI review requested due to automatic review settings May 9, 2026 00:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Normalizes carriage returns in the web UI’s bash tool output so progress-style command output (that uses \r / \r\n) renders as line-separated text, aligning behavior with the non-terminal-emulation display approach.

Changes:

  • Convert \r and Windows-style \r\n sequences in shell output to \n after ANSI stripping.
  • Improve readability of progress/overwrite-style output in the web shell transcript view.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Hona Hona merged commit d19f7bc into anomalyco:dev May 9, 2026
15 checks passed
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.

2 participants