Skip to content

[Bug] note prompt box witdth compute incorrect when title contains Chinese #115

Open
@tjx666

Description

@tjx666

Environment

  • OS: MacOS 13.3
  • Node Version: 18.5.0
  • Package: @clack/prompts
  • Package Version: 0.6.3

Describe the bug

image

To Reproduce

https://stackblitz.com/edit/node-lbgrtu?file=index.js,package.json

Steps to reproduce the behavior:

  • node index.js

Expected behavior

the box should wrap the text

Additional Information
If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @tjx666

      Issue actions

        [Bug] note prompt box witdth compute incorrect when title contains Chinese · Issue #115 · bombshell-dev/clack