Skip to content

docs: add a note for Mac default terminal not supporting ColorRGB - #38

Open
primequantuM4 wants to merge 1 commit into
mainfrom
docs/color
Open

docs: add a note for Mac default terminal not supporting ColorRGB#38
primequantuM4 wants to merge 1 commit into
mainfrom
docs/color

Conversation

@primequantuM4

Copy link
Copy Markdown
Owner

Added a note on ColorRGB for mac default terminal.

@TheComputerM

Copy link
Copy Markdown
Collaborator

Is it possible to switch this during runtime after detecting if the terminal supports true-color or not?

@primequantuM4

primequantuM4 commented Aug 26, 2025

Copy link
Copy Markdown
Owner Author

Is it possible to switch this during runtime after detecting if the terminal supports true-color or not?

I can write a function that checks if the variable COLORTERM or TERMPROGRAM is set to true color and if that returns false maybe map the colors to the nearest ansi color type, should i do that?

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