Skip to content

Check color support using COLORTERM#218

Merged
magicant merged 2 commits into
magicant:trunkfrom
unrealapex:color-check
Dec 18, 2025
Merged

Check color support using COLORTERM#218
magicant merged 2 commits into
magicant:trunkfrom
unrealapex:color-check

Conversation

@unrealapex

@unrealapex unrealapex commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Many terminals set COLORTERM to advertise color support so it would be logical to check if this variable is defined before falling back to checking using tput.

Suggested-by: @hyperupcall

Many terminals set COLORTERM to advertise color support so it would be
logical to check if this variable is defined before falling back to
checking using tput.

Suggested-by: Edwin Kofler <edwin@kofler.dev>
@unrealapex
unrealapex marked this pull request as draft December 11, 2025 06:58
Comment thread share/initialization/common Outdated
Co-authored-by: WATANABE Yuki <magicant@wonderwand.net>
@unrealapex
unrealapex marked this pull request as ready for review December 14, 2025 09:09
@magicant

Copy link
Copy Markdown
Owner

thanks

@magicant
magicant merged commit 8598d62 into magicant:trunk Dec 18, 2025
6 checks passed
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