bradrice
bradrice

Reputation: 1755

How to change vs code background for terminal progress

I can't find a setting to change this, but the background color drives me nuts in the VS Code editor terminal. I have terminal.background set to black and it does in fact set it to black, but when I run tns run android and get an error or warning it goes to this color and I can't seem to change it back.

enter image description here

Upvotes: 0

Views: 2055

Answers (1)

DalePB
DalePB

Reputation: 11

Just want to address this old question. I was experiencing, and have been largely ignoring, the seemingly configuration error for the VS Code terminal background color (in Windows).

Solution: Set the Windows Terminal default colors the same as the VS Code terminal colors.

Here's my black background settings for VS Code in the settings.json:

    "workbench.colorCustomizations" : {
    "terminal.ansiBlue": "#ADADAD",
    "terminal.ansiBlack": "#424242",
    "terminal.background": "#121212",
    "terminal.foreground": "#DEDEDE"
    }

}

Matching the Windows Terminal default:

Terminal Default

Background Color to Red:12 Green:12 Blue:12

Background info: I got this figured out now I think. VS Code will be using the terminal default color settings. This means that the terminal colors defined in the VS code theme will be used overlaying the default color theme as set for the Windows CMD terminal.

This means that if the 2 colors, set in VS Code and Windows Terminal" are set differently, one will get the "blocky" result as shown in the post.

Upvotes: 1

Related Questions