github / github/copilot-cli

CJK text wrapping error

Open
#2,825 0 comments 0 reactions 0 assignees View on GitHub
area:input-keyboard area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.