MoonshotAI / MoonshotAI/kimi-cli

WSL2 Tmux related UX issues

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

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

1.35

Which open platform/subscription were you using?

Moderato Plan

Which model were you using?

kimi-for-coding

What platform is your computer?

Windows 11

What issue are you seeing?
  1. In tmux on WSL2 some characters at the edge (beginning/end) of the line are lost or stripped out.

A sentence like "I agree with your vision completely" where the first line on the screen ends with "your" instead reads as "I agree with you sion completely." - ie the second line starts with "sion" instead of "vision". For reference this issue doesn't occur with other REPL and TUI tools be it Codex, Claude Code, Pi etc.

  1. In tmux on WSL2 the word-level deletion is painfully slow and somewhat broken. I can't do "Alt + Backspace" while holding Alt and Bksp continuously in order to quickly delete many words. Doing so does nothing. Instead I have to do multiple batches of "Alt + Bksp" with each batch only deleting one word. This problem isn't present in other REPLs and TUIs.

  2. Pressing Alt + Bksp when the agent is running causes the agent to get interrupted ("Interrupted by user" error message).

What steps can reproduce the bug?

Reproduced by following the details in the bug description.

What is the expected behavior?

No response

Additional information

No response

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

Reproduce the three reported behaviors in Kimi Code CLI 1.35 on Windows 11 with WSL2 and tmux, using the line-wrap example and repeated Alt+Backspace described in the issue. Compare what happens while the agent is idle and running; the issue names no files or tests, so start by locating the CLI's terminal input and rendering entry points. Done means line-edge characters are preserved, word deletion works when repeated, and Alt+Backspace does not interrupt a running agent.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.