15

I've used vscode for some time, and I have never experienced this, but suddenly the integrated terminal started acting weird. There is a space between every letter, and the cursor appears one line above the writing position. This screenshot should clarify: enter image description here

I've tried to change my terminal settings, and after changing an arbitrary terminal setting it immediately goes back to normal. But when I create a new terminal it's formatted wrongly, and I have to change a terminal setting to fix it. Do you know what's going on?

3

6 Answers 6

14

According to another GitHub issue, it looks like this is a known bug and is temporarily resolved by resizing the dimensions of the integrated terminal window.

2
  • Thanks, what an unexpected solution. Apr 2, 2021 at 18:59
  • 2
    It bugs me that this issue still exists and yet the linked GitHub issue is closed. I don't know what to do about that.
    – Wyck
    Dec 7, 2022 at 19:09
4

In my case the problem was coming from a missing set of fonts (Cascadia Code PL) After installing them, everything was working fine.

1
  • Same here, it was the missing Fira code font.
    – Tan-Aki
    Aug 30, 2022 at 13:23
1

Just make sure the spelling of your font Family is spelt right

0

Go to settings and search for font-family and make sure you are using Monospace fonts (a font where each character occupies the same amount of space on a horizontal line of text)

To check if a font is monospace just google 'is font_name monospace ?' Or see the [list] 1 of monospace fonts.

Note fonts are loaded as per the order in the array ['first_font', 'second_font', 'third_font',.....] So if 1st font is not available second will be loaded

1
  • 1
    Please add some explanation to your answer such that others can learn from it
    – Nico Haase
    Oct 13, 2021 at 15:54
-1

Just resize the terminal in vscode , it will solve the problem.

1
  • 3
    This doesn't add much to the existing answer, I think. May 5, 2021 at 5:49
-1

It may resolve by reset the setting of font family in vs code. Be careful at a time of choose spelling of font family because it can create problem.

1
  • This doesn't add much to the existing answer, I think.
    – Richard
    Aug 24, 2021 at 6:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.