Skip to content

fix(tui): keep task browser frames aligned on Windows - #2901

Closed
PaiduiXiaowangzi wants to merge 1 commit into
MoonshotAI:mainfrom
PaiduiXiaowangzi:codex/issue-2233
Closed

fix(tui): keep task browser frames aligned on Windows#2901
PaiduiXiaowangzi wants to merge 1 commit into
MoonshotAI:mainfrom
PaiduiXiaowangzi:codex/issue-2233

Conversation

@PaiduiXiaowangzi

Copy link
Copy Markdown

Related Issue

Resolve #2233

Problem

Windows background processes can emit CRLF output. The task browser split output only on \n, leaving \r characters that move the terminal cursor to column zero and cause frame borders to render in the wrong column.

What changed

Sanitize captured task output before rendering it in both the /tasks preview and the full task output viewer. Added regression coverage using Windows CRLF output.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 230fcff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@liruifengv

Copy link
Copy Markdown
Collaborator

Fixed in #2863. Thank you!

@liruifengv liruifengv closed this Aug 14, 2026
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.

在Windows终端中使用原生分屏时,查看/task时发生界面边框不对齐的问题

2 participants