Skip to content

multibyte chars couldn't be output into one width buffer #165

Description

@darallium

Describe the bug
When try to output multibyte characters into one width output buffer, minus tries to output one byte by one byte, but the multibyte characters consist with multi, so the slice fails.
The codes seem that when the output is not TTY, minus maybe treats it as 1 witdth.

Screenshots

Image

Desktop:

  • OS : Windows 11 Pro Japanese Edition
  • Terminal : Windows Term
  • Shell : pwsh
  • minus Version : 5.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions