byobu status bar shifting under ConEmu

Problem

I installed the latest stable release of ConEmu. I opened a Cygwin shell and used SSH to connect to a remote computer. I ran Byobu on the remote computer. I noticed that its status bar would shift upward, overwriting the entire screen after some time.

Solution

This problem is documented here. The solution suggested by the ConEmu creator is to use the ConEmu/msys terminal connector plugin. Using this connector is however a bit complicated. But, according to this post, it has been rolled into ConEmu starting with the 170705 release. I checked and found that the stable release I had installed was 161206. The stable release was years behind!

Seeing no recent stable version available, I opted to download a preview release from here. This release was dated later than 170705. byobu worked fine through SSH from Cygwin after that!

Advertisements

Change colors in ConEmu

Properties of current console in ConEmu.

ConEmu is an excellent terminal application for Windows. It can be used to host many consoles. But, changing the foreground and background colors of the console is a bit messy.

Pre-defined colors

Consoles on Windows can pick from 16 predefined colors. If you wish to change the foreground or background color to one of these predefined colors, then doing it is straightforward. Press on the ConEmu icon in the titlebar and choose Debug → Properties. If you are running CMD.exe or PowerShell, this will bring up the familiar Windows console properties dialog. You can pick the foreground or background color you want in the Colors tab here.

Custom colors

However, if you want to set some non-predefined RGB value as foreground or background color, you need a bit of workaround. Press on the ConEmu icon in the titlebar and choose Settings. Go to the Color section and pick some numbered color and change its RGB value to the one you desire. After that, press on the ConEmu icon in the titlebar and choose Debug → Properties. If you are running CMD.exe or PowerShell, this will bring up the familiar Windows console properties dialog. Here, the color you set earlier should be visible in the 16-color picker. Pick it as foreground or background color and it will be applied.

Tried with: ConEmu 120612 x64 and Windows 7 64-bit

Update: Changing colors in recent versions of ConEmu is straightforward. Please see the comment by Maximus5 below.