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_

貢獻指南

開啟貢獻指南

研究方向

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.

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

評估

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

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

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