MoonshotAI / MoonshotAI/kimi-code

思考过程中输入中文,中文 IME 候选框出现闪烁,或者思考过程行最右侧出现闪烁的候选框,英文字符没影响

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

Nobody has claimed this yet.

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

Description

What version of Kimi Code is running?

0.27.0

Which open platform/subscription were you using?

Windows Powershell

Which model were you using?

glm-5.2

What platform is your computer?

Microsoft Windows NT 10.0.22621.0 x64

What issue are you seeing?

在智能体思考过程中,有可能会想到一些遗漏的要点需要补充,输入中文时,中文 IME 候选框出现闪烁,或者思考过程内容框最右侧出现闪烁的候选框,英文字符没影响
我本地修改了源码,采用 把 positionHardwareCursor 输出并入 doRender 同步 buffer 这种方式暂时修复了,希望下次拉取版本时,不用修改源码就ok

What steps can reproduce the bug?

输入中文时,中文 IME 候选框出现闪烁,或者思考过程内容框最右侧出现闪烁的候选框,英文字符没影响

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

Start by tracing the rendering path around positionHardwareCursor and doRender, including how their output is combined with the synchronous buffer. Reproduce the issue in Windows PowerShell while entering Chinese during agent thinking, then compare IME composition with English input. Done means the Chinese candidate window no longer flickers or appears at the far right of the thinking view.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.