-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ansi): implement DecodeColor function (#327)
* feat(ansi): implement ReadColor function This implements reading SGR colors according to the ITU T.416 and ECMA standards. It supports reading colors in the following formats: RGB, CMY, CMYK, and indexed colors. The function also supports reading color values separated by semicolons (;) and colons (:). * feat(ansi): color: support wezterm RGBA extension See https://wezfurlong.org/wezterm/escape-sequences.html#graphic-rendition-sgr * refactor(ansi): color: rename ReadColor to DecodeColor * Update color.go * Update color.go * fix: tests
- Loading branch information
1 parent
1814328
commit 62b1fae
Showing
2 changed files
with
540 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.