github / github/copilot-cli

CJK text wrapping error

未关闭
#2,825 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

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

贡献指南

打开贡献指南

调研方向

首先在 GitHub Copilot CLI 1.0.32 中复现 CJK 文本换行行为,并定位终端输入换行路径。完成的标准是将 CJK 字符按两个终端列宽进行测量,并使换行与可用宽度匹配。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli, internationalization
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。