Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2204·powerline

Text does not wrap correctly and may overwrite Powerline in WSL inside Windows Terminal

Author: tomaz-sullerCreated May 15, 2022Updated Jun 4, 2026
Labelsc:e:shelle:wslt:needs information

I've just installed Powerline on an ArchWSL instance which I was trying to set up to use the new Windows Terminal app. I experienced a few problems with text going to places it shouldn't which I don't experience on my Linux system, so I think the problem lies with how Windows Terminal communicates line widths or something like that. Notably though, the tmux status line is displayed normally, which is why I'm filing this issue here.

The first issue has to dowith any text that is "too long": the Powerline simply disappears, and so does the initial portion of the text the user wrote. This first screenshot is just before the problem happens: image and this one, just after image I just kept typing more "aaaa" and the previous ones disappeared, along with the line.

The second issue had to do with the right side of Powerline; every time a process exits with an error code or I cd into a repository, the cursor teleports into the line and subsequent commands overwrite it: image image

I'm not using any custom Powerline configuration, but may provide any config you may find relevant.

Source: powerline/powerline

View original on GitHubView discussion on GitHub