github / github/copilot-cli

IME composition causes window flickering/shaking on Windows

未關閉
#3,045 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard area:platform-windows area:terminal-rendering
主要語言
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 重繪路徑,並驗證組合不再觸發整個 frame 的重新渲染。完成的標準是 CJK 組合在視覺上保持穩定,同時一般輸入持續正常運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
powershell, shell
領域
cli, internationalization
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。