github / github/copilot-cli

IME composition causes window flickering/shaking on Windows

Đang mở
#3,045 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:input-keyboard area:platform-windows area:terminal-rendering
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

## 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề trong Copilot CLI trên Windows Terminal với kiểu nhập Microsoft Bopomofo hoặc Pinyin. Theo dõi cách các sự kiện ghép IME đi đến đường dẫn vẽ lại của TUI và xác minh rằng việc ghép không còn kích hoạt việc kết xuất lại toàn bộ frame. Hoàn thành có nghĩa là việc ghép CJK vẫn ổn định về mặt hiển thị trong khi kiểu nhập thông thường vẫn tiếp tục hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell, shell
Lĩnh vực
cli, internationalization
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.