Skip to content

[multiline] wordwrap for non-single-width characters (CJK) #2416

@duofinal

Description

@duofinal

Small description
Only english text works correctly when using multiline command (wrap text)

Expected result
Wrap text should work for all languages

Actual result with screenshot

Steps to reproduce
open a file -> execute multiline command (v or View -> toggle display -> multiline)

Configuration

  • Does this issue reproduce without any plugins or configuration (using the -N CLI flag)?
    Yes
  • Does this issue reproduce with either the latest release, or with the develop branch?
    Latest release v3.0.2

Additional context

  • What platform and version are you using (Linux, MacOS, Windows)?
    Ubuntu 22.04
  • Which version of Python?
    3.11.5
  • Which terminal are you using (for display and input issues)?
    iTerm2 with macOS and use the ubuntu remotly

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions