Terminal: Windows Terminal turns completely opaque when I load Vim

Created on 13 Oct 2020  路  11Comments  路  Source: microsoft/terminal

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.720]
Windows Terminal version (if applicable): Windows Terminal 1.3.2651.0

Any other software?  Vim 8.2

Steps to reproduce

First open Window Terminal, turn acrylic on.
It works fine. Execute vim.exe. Windows Terminal turns opaque.
Exit vim.exe. Windows Terminal goes back to normal.

Expected behavior

Acrylic transparency should stay the same.
This behaviour does not occur with cmd.exe (transparency stays the same).

Capturar
Capturar2

Issue-Question Needs-Tag-Fix Resolution-Answered Resolution-By-Design

All 11 comments

@Chaoticsys101

I am not having any issues with vim but can you share your vimrc to let me try to repro this issue

This is intentional behavior. Vim is requesting that the background color be set, so Windows Terminal _must_ set the background color. More info here.

Could you please be a bit more specific? I put "background" : "#000000" in
defaults in the config file but it stayed the same.

Dustin L. Howett notifications@github.com escreveu no dia quinta,
15/10/2020 脿(s) 18:57:

@Chaoticsys101

Vim is setting the console color to be that color, that's what @DHowett meant. Even though I am not having any troubles with vim.

Must have something to do with your vimrc or you can just create an issue in vim

Thanks. If I do 'vim -u NONE -U NONE' it works fine. So the problem is in my vimrc. Do you have a public email or some place where we could talk? I would like to share my vimrc to see if we could figure out what is wrong

Unfortunately it did not... BTW how did you set your vimrc to 256 color?

@Chaoticsys101 Ok. I got a random vimrc that I got from the internet (I installed vim in WSL Ubuntu)

@Chaoticsys101 try using a different vimrc and add settings back individually and see which is causing the trouble.

I will send my vimrc in a few hours, I'll share a link or something

I tried but it either worked with the default colorscheme or didn't

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhavalhirdhav picture dhavalhirdhav  路  56Comments

patriksvensson picture patriksvensson  路  143Comments

cinnamon-msft picture cinnamon-msft  路  62Comments

DHowett-MSFT picture DHowett-MSFT  路  72Comments

MoshiBin picture MoshiBin  路  128Comments