erikw / tmux-powerline

⚡️ A tmux plugin giving you a hackable status bar consisting of dynamic & beautiful looking powerline segments, written purely in bash.
BSD 3-Clause "New" or "Revised" License
3.39k stars 511 forks source link

Screen scrolling on this on and duplicationg the status bar #351

Open Dominiquini opened 9 months ago

Dominiquini commented 9 months ago

As soon I start tmux, the screen start scrolling randomly (sometimes it takes several seconds to scroll 1 line, but other times it scroll several lines in 1 second), and the status bar end up duplicated! The prompt on the top also disappears (but the cursor remains and I was still able to type!)

WindowsTerminal_dqMN4nmOiE WindowsTerminal_K5mKOw7jry

I tested removing all plugins from my '.tmux.conf', leaving only 'tpm' and this! Tried also deleting my '.bashrc' to avoid any configuration that cam interfere! I also tested tmux without this plugin (only 'tmp'), and everything appears to be working fine!)

I installed this plugin some days ago and everything appears to be working fine. Maybe some recent update that caused this bug!

OS: Ubuntu 22.04 (WSL2 under Windows 10 x64) SHELL: GNU bash 5.1.16 TMUX: 3.2a

Is there anything that I can provide to help in this bug?

Thanks.

Dominiquini commented 9 months ago

Doing more tests here, I found out that is the weather segment that is causing this issue. Disabling this segment on the default theme resolve this issue!

Thanks.

killbasa commented 8 months ago

The issue for me was the fact that some of the weather icons are 2 characters in width rather than 1. Main clue was that my status bar was fine in the morning, but the above issue appeared later in the night.

Arcadi4 commented 6 months ago

Turning off the weather segment also worked for me.

xx4h commented 5 months ago

Trying to reproduce this. From the screenshots my assumption is, that this was weather cloudy and @Dominiquini stated, that he's using Ubuntu 22.04 in WSL2. I'm thinking if this is maybe WSL2 related, did you also see the bug in WLS2 (@killbasa @Arcadi4)? If not, could you maybe give me some more information on what environment/terminal/etc. you're using?

killbasa commented 5 months ago

Trying to reproduce this. From the screenshots my assumption is, that this was weather cloudy and @Dominiquini stated, that he's using Ubuntu 22.04 in WSL2. I'm thinking if this is maybe WSL2 related, did you also see the bug in WLS2 (@killbasa @Arcadi4)? If not, could you maybe give me some more information on what environment/terminal/etc. you're using?

I'm using WSL2 as well. These are the cases that give me an issue:

System info: Terminal: Windows Terminal (https://github.com/microsoft/terminal) Distro: Ubuntu-22.04

# uname -a
Linux Main 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Relevant screenshot: (here are my dotfiles if that helps with anything, tmux configs are in .config: https://github.com/killbasa/dotfiles) sc1

Arcadi4 commented 5 months ago

Trying to reproduce this. From the screenshots my assumption is, that this was weather cloudy and @Dominiquini stated, that he's using Ubuntu 22.04 in WSL2. I'm thinking if this is maybe WSL2 related, did you also see the bug in WLS2 (@killbasa @Arcadi4)? If not, could you maybe give me some more information on what environment/terminal/etc. you're using?

For me, I am not using WSL. This problem occurred while logging into an Ubuntu 20.04 running on a physical machine through Windows Terminal. So I guess it's not a WSL2 problem?

The issue happened on my partner's Windows. I'm on macOS, can't provide more information on the specific weather causing this. 🙏

xx4h commented 5 months ago

For me, I am not using WSL. This problem occurred while logging into an Ubuntu 20.04 running on a physical machine through Windows Terminal. So I guess it's not a WSL2 problem?

Thanks for the info, so i'll have a deeper look into Windows Terminal then, as this seems to be the common denominator.

xx4h commented 5 months ago

So far i was not able to reproduce this on Win11 with Windows Terminal. I'll try with Win10 when i have one at hand, as well as trying different settings in the Windows Terminal.