Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode bash terminal text turns invisible

On VS Code's bash windows if I run a command that returns a long response like "git log" and interrupt it with double tapping ctrl + C then everything I type is invisible. Bash works as I can type "clear" and get a response for any command but I cannot see my text.

I am currently forced to delete the terminal and insert another one.

like image 329
Stelium Avatar asked Oct 26 '18 08:10

Stelium


4 Answers

Solution that helped me is to change terminal.integrated.gpuAcceleration in settings to off

like image 91
Alexander Myasnikov Avatar answered Oct 17 '22 18:10

Alexander Myasnikov


I know this is not a great answer, but it's most definitely a bug.

You can see here that the integrated terminal VSCode uses in Windows is still under very active development: https://github.com/Microsoft/vscode/issues/45693

The currently tracked bugs do include colour and 'invisibility' issues, as well as issues surrounding command termination (ctrl+c) recovery.

VS Code is an OpenSource project, and has a fairly responsive and helpful community for getting bugs fixed. It looks like this bug specifically hasn't been raised before (although, as mentioned, variants have), so it'd be helpful for the team if you raised it here: https://github.com/Microsoft/vscode/issues so that someone can take a look and get it fixed!

like image 32
thomasmichaelwallace Avatar answered Oct 17 '22 18:10

thomasmichaelwallace


Sometimes you will meet this problem that will occurs you a seriously bad behavior with your computer mousse, isn't it ?

Solution for me :

  1. code --disable-gpu write this in command line, it will works i hope.
  2. Update your machine, Update VSCODE and pray for works.

If it doesn't works, tell me what are you seeing.

like image 1
Simon Provost Avatar answered Oct 17 '22 17:10

Simon Provost


Some text in integrated terminal is invisible: https://github.com/microsoft/vscode/issues/44273

  • VS Code Version: 1.67.2
  • OS Version: Win10
  • Laptop: Asus K53SV

Temporary solution:

  • File > References > Settings (or Ctrl + ,)
  • Type: terminal.integrated.gpu
  • Set one to off

enter image description here

like image 1
8Observer8 Avatar answered Oct 17 '22 17:10

8Observer8