Skip to content

Add support for 256-color palette#112

Open
sidtronics wants to merge 2 commits into
boysetsfrog:masterfrom
sidtronics:feature/256-colours
Open

Add support for 256-color palette#112
sidtronics wants to merge 2 commits into
boysetsfrog:masterfrom
sidtronics:feature/256-colours

Conversation

@sidtronics

Copy link
Copy Markdown
  • Updated the :hi <prop> <bg> <fg> command to accept numerical values
    for foreground (fg) and background (bg) colors, ranging from 0 to 255. This allows users to utilize colors from the 256-color palette.

  • The command is ignored when numerical values for fg or bg are
    used, if the terminal doesn't support 256 colors.

  • Maintains compatibility with the standard 16 terminal color strings
    (e.g., black, red, blue, yellow, etc.).

+ Updated the `:hi <prop> <bg> <fg>` command to accept numerical values
for foreground (`fg`) and background (`bg`) colors, ranging from 0 to
255. This allows users to utilize colors from the 256-color palette.

+ The command is ignored when numerical values for `fg` or `bg` are
used, if the terminal doesn't support 256 colors.

+ Maintains compatibility with the standard 16 terminal color strings
(e.g., black, red, blue, yellow, etc.).
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.

1 participant