Vscode: Terminal strange background color

Created on 24 Feb 2019  路  10Comments  路  Source: microsoft/vscode


  • VSCode Version: 1.31.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open VSCode.
  2. Toggle view on the terminal.

Does this issue occur when all extensions are disabled?: Yes

How does it look?
image

I've tried using terminal.background under customization to see if that was the problem. It wasn't.

My current user config:

{
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
    "git.autofetch": true,
    "window.titleBarStyle": "custom",
    "window.zoomLevel": 1,
    "php.validate.executablePath": "C:\\xampp\\php\\php.exe",
    "explorer.confirmDelete": false,
    "python.linting.enabled": false,
    "python.linting.flake8Enabled": true,
    "workbench.colorTheme": "Visual Studio Dark"
}

Edit: Apparently the terminal changes color and go even brighter after some usage.

*duplicate integrated-terminal needs more info

Most helpful comment

@Tyriar this issue is fix when change "terminal.integrated.rendererType": "canvas" to "terminal.integrated.rendererType": "dom".

Hope that helps you find the bug. I'm out.

All 10 comments

I can't reproduce, what happens with different themes? Does it work if you switch themes and go back?

Nop. Its the same for all themes except Light version. I've tried running withoud extensions and reinstalling it.

@farebord Have you customized the background color or other colors inside cmd.exe or powershell.exe? https://github.com/Microsoft/vscode/issues/68865#issuecomment-467309670

@farebord Have you customized the background color or other colors inside cmd.exe or powershell.exe? #68865 (comment)

Nop. Btw I use cmd.exe without any changes on the background color.

Unfortunately we probably can't action this, however in the next version of Windows 10 (190*) we are moving over to a new backend which should fix most issues like this.

/duplicate https://github.com/Microsoft/vscode/issues/45693

@Tyriar this issue is fix when change "terminal.integrated.rendererType": "canvas" to "terminal.integrated.rendererType": "dom".

Hope that helps you find the bug. I'm out.

@farebord it's interesting that's the fix. I'll keep a lookout for other reports, thanks.

@farebord this was driving me nuts! thanks for the fix

@Tyriar I get the same issue in Ubuntu. The solution above fixes it for me too.

If anyone can still reproduce this I need better steps and a setting.json file to try reproduce myself, please comment in https://github.com/Microsoft/vscode/issues/71568 to help out 馃檪

Was this page helpful?
0 / 5 - 0 ratings

Related issues

curtw picture curtw  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

NikosEfthias picture NikosEfthias  路  3Comments

trstringer picture trstringer  路  3Comments