Don't query terminal colors if we're disabling color support.
Review Request #14250 — Created Nov. 15, 2024 and submitted — Latest diff uploaded
When starting up, we check the terminal background for light or dark
colors. This happens even if we've set no-color mode. That goes against
the intent of the workaround for terminal issues.We no longer perform this check if color isn't allowed.
Ran in no-color mode and verified that a terminal query was never
performed.