MoonshotAI / MoonshotAI/kimi-code

After update to 0.22.3, `kimi` shows raw ANSI escape codes instead of the TUI on Windows

Open
#1,383 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

After updating to 0.22.3, running plain kimi just spits out a wall of raw escape sequences. The TUI never actually renders.

Right at startup I see stuff like:

[2K[38;2;79;168;255m...[39m[38;2;136;136;136mWelcome to Kimi Code!...

and it just stays like that.

What still works:

  • kimi -p "hello" (non-interactive mode) produces normal readable output.

What doesn't work:

  • Running plain kimi in interactive mode.

Reproduces in:

  • Windows Terminal
  • Warp

Environment:

  • kimi 0.22.3
  • Windows (PowerShell 7.5.5)
  • No mcp.json configured
  • kimi doctor passes clean
  • Default model is kimi-code/kimi-for-coding

This only started after the update. Interactive mode is basically unusable right now.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing plain kimi in Windows Terminal or Warp and compare it with kimi -p "hello", confirming that only interactive mode emits raw ANSI sequences. Trace the interactive CLI startup and terminal rendering path; done means the TUI renders normally on Windows while non-interactive output remains readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.