Skip to content

[BUG]Line overshoot when song ends in wide character #569

Open

Description

@Anskrevy

Describe the bug
On the playlist editor, songs that end in a wide character cause the closing parentheses to be printed at the start of the next line.

To Reproduce
Steps to reproduce the behavior:

  1. Create playlist
  2. Add song with a long title that ends in a wide charater "ツ"
  3. Save playlist
  4. View playlist in playlist editor
  5. Resize terminal so that the song is truncated and ends with a wide character

Expected behavior
Line is truncated so that there is enough space to print the duration in parentheses

Screenshots/Logs
pic-selected-230408-2134-01

Desktop (please complete the following information):

  • OS: Arch
  • Terminal: st
  • Version 0.9.2

Additional context
I don't think I have seen this anywhere else in the program but the playlist editor. I think a suitable solution would be to add a single blank space between the song and the duration, but I'm sure you guys will come up with a fitting solution. Thanks for the great program, sorry my skills would not allow me to submit a pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions