Commit graph

1 commit

Author SHA1 Message Date
Varun Chawla
8255f6a1a5 Fix FORCE_COLOR to set exact level instead of minimum
Previously, FORCE_COLOR was used as a floor value and terminal
detection could return a higher level. For example, FORCE_COLOR=1
on a truecolor terminal would still give level 3.

Now when FORCE_COLOR is set to a specific level (1, 2, or 3), that
exact level is returned without further terminal capability checks.

Fixes #624
2026-02-13 00:54:25 -08:00