Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Display corruption in irssi, others running inside tmux in WSL bash #1444
ConEmu build: 180206 x64 and x32 both, fresh download, settings reset to default
First of all I hope ConEmu is the right place to report this, but to my amateur observation it seemed like the most likely place to start at least. Apologies if that isn't the case.
When running irssi inside tmux in WSL bash, the output becomes garbled during use. It's a bit difficult to describe exactly, but it's particularly notable when using pageup and pagedown to scroll up and down. Irssi scrolls by half a page at a time, and it looks like the other half either doesn't update or gets blanked depending on which way it's being scrolled. This is completely consistent and reproducible on my end. New lines also seem to get printed in the wrong place or some lines don't update correctly. The scrolling problem was the clearest and most consistent one to repro so it's included here as an animated gif:
There's visual weirdness in programs other than irssi too, but irssi seems to be most consistent to reproduce for me. In
The image below (not animated) is after scrolling down for a bit in less. Also notice how part of the tmux status line (grey background), which should be at the bottom, is at the end of some completely different line.
Issuing a tmux redraw with
I believe this is not a WSL/Windows console issue, or at least not completely, because the tmux+irssi/less combination seems to work fine when WSL bash is started either from normal Windows command prompt or PowerShell. The issues only happen when using WSL bash in ConEmu+tmux.
Based on tmux FAQ there is a similar-looking problem with irssi in normal Linux usage when using incorrect
Steps to reproduce
To try seeing corruption in
Display corruption and explained and shown above
No display corruption.
Here's a log of me doing the tmux irssi and less activities as explained in the repro steps, where the corruption is showing on my display.
added a commit
May 22, 2018
For version 180626, seems this bug is not completely fixed.
I am using WSL with cygwin/msys connector. The following steps can be used to reproduce it:
Here is the attached ANSI log (with some info stripped, via Firefox Send, expire after 20 downloads with password