IME composition causes window flickering/shaking on Windows
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
## Description
When typing CJK characters (Chinese/Japanese/Korean) using Windows IME in the Copilot CLI, the terminal window visibly flickers/shakes on each keystroke during IME composition.
## Steps to Reproduce
1. Open Copilot CLI in Windows Terminal
2. Switch to a CJK input method (e.g., Microsoft Bopomofo / Pinyin)
3. Start typing Chinese characters
4. Observe the terminal window shaking/flickering as the IME candidate window appears
## Expected Behavior
The TUI should not re-render/redraw the entire frame during IME composition events. The input area should remain stable while the user is composing characters.
## Actual Behavior
Every IME composition event triggers a full TUI re-render, causing visible window flickering that makes the CLI uncomfortable to use with CJK input methods.
## Environment
- OS: Windows 11
- Terminal: Windows Terminal
- PowerShell: 7.6.1
- Copilot CLI: 1.0.40-0
- IME: Microsoft Bopomofo (Traditional Chinese)
- Code Page: 65001 (UTF-8)
## Impact
This significantly degrades UX for CJK users and discourages use of the CLI in non-English languages.
贡献指南
调研方向
首先,在 Windows Terminal 中使用 Microsoft Bopomofo 或 Pinyin 输入法复现 Copilot CLI 中的问题。跟踪 IME 组合事件如何到达 TUI 重绘路径,并验证组合不再触发整个帧的重新渲染。完成的标准是 CJK 组合在视觉上保持稳定,同时普通输入继续正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell, shell
- 领域
- cli, internationalization
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100