DEV Community

Cover image for Fixing VSCode terminal font
Nick Raphael
Nick Raphael

Posted on

Fixing VSCode terminal font

I just noticed that my vscode terminal window was having font issues. Especially obvious when it shows the git branch. Those little squares don't look right...

Take a look...
Alt Text

It's super easy to fix though. Download a powerline font (I like 'Cascadia Code PL') and install it on your machine.

Now all you need to do is add the following line to your vscode settings.json...



"terminal.integrated.fontFamily": "Cascadia Code PL"


Enter fullscreen mode Exit fullscreen mode

And hey presto...
Alt Text

If vscode gives you any errors like 'terminal only supports monospace fonts' then you can try 'MesloLGM Nerd Font'.

Laters

Top comments (5)

Collapse
 
luccasqdrs profile image
Luccas Quadros

For me "NotoSansMono Nerd Font" worked fine

Collapse
 
gersondeveloper profile image
GERSON CARDOSO FILHO

Worked like a charm. Thanks a lot.

Collapse
 
varlopecar profile image
varlopecar

Thx !!

Collapse
 
mathewsjoyy profile image
Mathews Joy

Thanks for this! so simple but searching for it for a while, I can reccomend DroidSansMono to anyone trying to find a compatable font! (Nerd Font)

Collapse
 
dungraymond profile image
yvesNg

This is outdated, Cascadia Code PL still has some broken character and vs code terminal doesn't support Meslo.