threads / discuss / 55991

Windows: GIT STATUS unreadable because the usage of RED textcolor on BLACK background

Subject: Windows: GIT STATUS unreadable because the usage of RED textcolor on BLACK background

## tl;dr

2 messages between Jun 23, 2021 and Jun 23, 2021.

replies: 1people: 2as markdown or json

Mirco Babin | Trip Software· Jun 23, 2021, 07:48 UTC · lore
Dear Git community,
git version 2.31.1.windows.1

Whenever I use GIT STATUS in a Windows cmd.exe dosbox the output is unreadable. Because of the usage of RED textcolor on a BLACK background.

See attached screenshot.png

Kind regards, Mirco Babin

Thomas Braun· Jun 23, 2021, 09:53 UTC · re: Mirco Babin | Trip Software · lore

Re: Windows: GIT STATUS unreadable because the usage of RED textcolor on BLACK background

On 23.06.2021 09:48, Mirco Babin | Trip Software wrote:
Hi Mirco,
> Whenever I use GIT STATUS in a Windows cmd.exe dosbox the output is
> unreadable. Because of the usage of RED textcolor on a BLACK background.

you can tweak the global default for having colors on/off via the setting color.ui.

So for example doing
git config --global color.ui off
will turn colors globally off.

You can also tweak which colors are used, see color.status.<slot>. All the git config options can be seen with git help config.

I've checked here and here the red is quite a bit brighter compared to your screenshot, so I would not claim it is unreadable but that is of course heavily subjective.

← back to recent threads