github / github/copilot-cli

IME composition causes window flickering/shaking on Windows

オープン
#3,045 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:input-keyboard area:platform-windows area:terminal-rendering
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、Microsoft Bopomofo または Pinyin 入力を使用して Windows Terminal 上の Copilot CLI で問題を再現します。IME の合成イベントが TUI の再描画パスにどのように到達するかを追跡し、合成によってフレーム全体の再レンダリングが発生しなくなったことを確認します。CJK の合成が視覚的に安定したままになり、通常の入力も引き続き機能すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, shell
領域
cli, internationalization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。