github / github/copilot-cli

CJK text wrapping error

Đang mở
#2,825 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:input-keyboard 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ả

### Describe the bug

CJK text wrapping: CJK characters occupy 2 terminal columns but copilot treats them as 1, causing incorrect line breaks in the text input.

### Affected version

GitHub Copilot CLI 1.0.32.

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

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

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

Hướng nghiên cứu

Start by reproducing the CJK text-wrapping behavior in GitHub Copilot CLI 1.0.32 and locate the terminal input wrapping path. Done means CJK characters are measured as two terminal columns and line breaks match the available width.

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

Đánh giá

Công nghệ
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
Cần làm rõ
Mức phù hợp với người mới
35/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.