justjanne/powerline-go

Strange empty spaces on the WSL terminal

Kasui92 opened this issue · 7 comments

Describe the bug
When I open Windows Terminal on WSL2 where I installed powerline-go, there are gaps between the various components of the powerline (see photo below).

immagine

The error appeared to me after the recent update of Windows Terminal to the version 1.10.2383.0

To Reproduce
I don't know how to reproduce the error.

Expected behavior
It should appear as usual.

Environment (please complete the following information):

  • OS: Windows10
  • Architecture:
  • Shell: wsl bash

Interestingly if you press enter or enter "clear" it seems to resolve itself too

@jamieburchell
Confirm.

However, when I close and reopen the terminal for any other reason or simply open a new tab, the anomaly returns.

Interestingly if you press enter or enter "clear" it seems to resolve itself too

That sounds like Windows Terminal knows how to render it correctly, it just doesn’t always do it. Seems tbh more like a Windows Terminal issue

dswij commented

Interestingly if you press enter or enter "clear" it seems to resolve itself too

That sounds like Windows Terminal knows how to render it correctly, it just doesn’t always do it. Seems tbh more like a Windows Terminal issue

+1, sounds like a Windows Terminal issue on the first draw. I don't have a Windows machine right now, but does this happens only on WinTerm + WSL or also on WinTerm + Psh? and does this happen to other prompts as well?

Interestingly if you press enter or enter "clear" it seems to resolve itself too

That sounds like Windows Terminal knows how to render it correctly, it just doesn’t always do it. Seems tbh more like a Windows Terminal issue

+1, sounds like a Windows Terminal issue on the first draw. I don't have a Windows machine right now, but does this happens only on WinTerm + WSL or also on WinTerm + Psh? and does this happen to other prompts as well?

@dswij
I find this error only on the WSL terminal, not on pws and not even on the prompt.

I don't have a fix, but as this annoys me every time I open the terminal, I've put clear at the top of my ~/.bashrc file to work around it.

@justjanne this is a Windows Terminal bug -> microsoft/terminal#8341