Skip to content

fix: disable WSL Windows Terminal progress#737

Draft
ktwu01 wants to merge 1 commit into
MoonshotAI:mainfrom
ktwu01:codex/disable-wsl-terminal-progress
Draft

fix: disable WSL Windows Terminal progress#737
ktwu01 wants to merge 1 commit into
MoonshotAI:mainfrom
ktwu01:codex/disable-wsl-terminal-progress

Conversation

@ktwu01

@ktwu01 ktwu01 commented Jun 14, 2026

Copy link
Copy Markdown

Related Issue

Fixes #727

Problem

Windows Terminal under WSL receives OSC 9;4 progress updates as Windows taskbar progress. While Kimi Code is responding, that progress state can prevent an auto-hidden Windows taskbar from revealing normally.

What changed

  • Treat Windows Terminal sessions under WSL as unsupported for terminal progress reporting, while keeping native Windows Terminal and the existing allow-listed terminals enabled.
  • Added regression coverage for common WSL environment signals with WT_SESSION.
  • Added a patch changeset for the CLI fix.

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.

Validation:

  • pnpm --filter @moonshot-ai/kimi-code test -- test/tui/terminal-notification.test.ts
  • pnpm --filter @moonshot-ai/kimi-code typecheck
  • pnpm exec oxlint --type-aware apps/kimi-code/src/tui/utils/terminal-notification.ts apps/kimi-code/test/tui/terminal-notification.test.ts

@changeset-bot

changeset-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ef48f65

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

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.

WSL + Windows Terminal 下 OSC 9;4 进度序列会阻止自动隐藏任务栏唤起

1 participant