Skip to content

The Copilot CLI input box cannot correctly wrap non-English text. #3325

@doggy8088

Description

@doggy8088

Describe the bug

The Copilot CLI input box fails to wrap non-English text (e.g., Chinese characters) correctly, causing the text to overflow the container.

Here are some screenshots that might descibe this issue.

I entered one line of the following text:

我目前的 macOS 版本,每一次透過 Azure DevOps、Azure Pipeline、CI/CD 安裝並且產生的這個 DMG 檔,使用者裝好之後呢,都會導致「輔助設定」的權限失效。你可不可以幫我檢查一下,是不是 Code sign  的憑證有問題,或者是難道每次都會不一樣嗎? 
Image Image Image Image Image Image

Affected version

v1.0.48

Steps to reproduce the behavior

  1. Run copilot
  2. Paste this text
我目前的 macOS 版本,每一次透過 Azure DevOps、Azure Pipeline、CI/CD 安裝並且產生的這個 DMG 檔,使用者裝好之後呢,都會導致「輔助設定」的權限失效。你可不可以幫我檢查一下,是不是 Code sign  的憑證有問題,或者是難道每次都會不一樣嗎? 

Expected behavior

I expect non-English especially Chinese characters to also be able to wrap lines correctly; the current implementation likely only considers English text.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions