Skip to content

Conversation

@jdholtz
Copy link
Contributor

@jdholtz jdholtz commented Oct 26, 2025

I originall saw the need for escaping titles because I had pango set to markup in my bar config. However, removing that removes the need for escaping. If users still use pango markup in their bar config, they can add the escape themselves in the format_player. This is a breaking change for users who use the pango markup for this module without having the escape in their format.

This specifically was found annoying when the escape translated an ampersand (&) to &, which then showed up in the title. I also had a max_length in the format_player. When the max length cut off right in the middle of the escaped sequence, the bar would not show any output.

I originall saw the need for escaping titles because I had pango set to
markup in my bar config. However, removing that removes the need for
escaping. If users still use pango markup in their bar config, they can
add the escape themselves in the format_player. Therefore, this is
potentially a breaking change for some users.

This specifically was found when the escape translated an ampersand (&)
to &, which then showed up in the title. I also had a `max_length`
in the format_player. When the max length cut off right in the middle of
the escaped sequence, the bar would not show any output.
@jdholtz
Copy link
Contributor Author

jdholtz commented Oct 26, 2025

The CI fails (specifically, hatch run all) due to dependency issues, specifically incompatibilities with Hatch and Click (see Hatch v1.14.2, where the issue is fixed). Upgrading Hatch or pinning Click to an old version fixes the hatch run all command.

Copy link
Contributor

@lasers lasers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plz make the fix-hatch pr 4 us too. xo.

@jdholtz
Copy link
Contributor Author

jdholtz commented Oct 28, 2025

Plz make the fix-hatch pr 4 us too. xo.

Fixed the CI build: #2295

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants