Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colons in SGR sequences are not recognized #9

Closed
ku1ik opened this issue Apr 27, 2023 · 1 comment
Closed

Colons in SGR sequences are not recognized #9

ku1ik opened this issue Apr 27, 2023 · 1 comment

Comments

@ku1ik
Copy link
Collaborator

ku1ik commented Apr 27, 2023

From https://wezfurlong.org/wezterm/escape-sequences.html#graphic-rendition-sgr (WezTerm):

There are a handful of additional SGR codes that allow setting extended colors; unlike the codes above, which are activated by a single numeric parameter out of SGR sequence, these the extended color codes require multiple parameters. The canonical representation of these sequences is to have the multiple parameters be separated by colons (:), but for compatibility reasons WezTerm also accepts an ambiguous semicolon (;) separated variation. The colon form is unambiguous and should be preferred; the semicolon form should not be used by new applications and is not documented here in the interest of avoiding accidental new implementations.

Programs running in Kitty terminal also tend to use : instead of ; for RGB color encoding.

Related issue in player exposing this problem: asciinema/asciinema-player#231

@ku1ik
Copy link
Collaborator Author

ku1ik commented Jun 15, 2024

Fixed and released in v0.11.0.

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

No branches or pull requests

1 participant