Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with tmux when there is a single pane #1159

Closed
raghur opened this Issue Jun 7, 2017 · 14 comments

Comments

Projects
None yet
5 participants
@raghur
Copy link

raghur commented Jun 7, 2017

Versions

ConEmu build: 170517x64
OS version: Windows Windows 8.1 x64
Used shell version: MSYS2 with conemu-msys2-64.exe

set MSYSTEM=MSYS & set MSYS2_PATH_TYPE=inherit & set HOME=c:\users\raghuramanr & d:\msys64\usr\bin\conemu-msys2-64.exe usr\bin\zsh -i -l

Problem description

display issues when using tmux with single pane on remote linux host
Tmux issues (Opened MSYS2 console, and ssh'ed into remote linux console and running tmux there)

  1. With a single pane inside tmux, the status bar disappears
  2. Carriage return or command not producing full screen output disappears.
  3. If I split tmux vertically, then the status bar displays properly and command output is also shown.

Thanks for ConEmu and reading through this... ConEmu's

an indispensable tool. Please let me know if you need any more info.

conemu-tmux

Expected results

Expect ConEmu to work properly inside tmux session

@Maximus5 Maximus5 added the ansi label Jun 12, 2017

@unpairedbracket

This comment has been minimized.

Copy link

unpairedbracket commented May 29, 2018

I've just discovered that I also see this issue with
ConEmu build: 180206 (64)
OS Version: Windows 10 x64, build 17134
Shell: WSL with wslbridge
set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -C~ -cur_console:pnm:/mnt -t zsh
Interestingly I only see this with zsh inside tmux, bash is fine. I also do not see this problem without wslbridge - if I set the command for a task to simply run debian.exe the problem does not occur (though lots of other things are worse, of course).

Also, the issue arises with any activity in a full-width tmux pane (not just in single-pane instances, i.e. if the screen is split top and bottom, splitting only one pane horizontally does not help, but splitting both does) and scrolling the mouse in the problematic pane seems to cause a re-render as the status bar and all of the invisible text reappears temporarily. I hope these extra details prove useful.

I notice there hasn't been any response to this for nearly 12 months, is there any sign of what the problem could be?

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented May 29, 2018

@unpairedbracket Is there any sense to complain on build released almost four months ago?

@unpairedbracket

This comment has been minimized.

Copy link

unpairedbracket commented May 29, 2018

My bad, ConEmu was set to notify for latest stable release but I hadn't realised that there hasn't been a stable release since December 2016. This seems to have been fixed as of 180528, so you might want to close this issue.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented May 29, 2018

@raghur If you still experience the problem let us know

@Maximus5 Maximus5 closed this May 29, 2018

@raghur

This comment has been minimized.

Copy link
Author

raghur commented May 30, 2018

@Maximus5 - it's improved but there are still rendering issues when using ConEmu to ssh into a box and using tmux there.. For ex, here's one image - the date bit from tmux's status line shows up under the prompt after running ls

image

ConEmu Version - 180528 preview

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented May 30, 2018

Please make console log file with screenshot demonstrating the problem
https://conemu.github.io/en/AnsiLogFiles.html#connector

@Maximus5 Maximus5 reopened this May 30, 2018

@raghur

This comment has been minimized.

Copy link
Author

raghur commented May 30, 2018

2018-05-30 14_42_04-
conemu.zip

Screenshot - same as above... along with log files from conemu and connector.

@oag335

This comment has been minimized.

Copy link

oag335 commented Dec 30, 2018

I have run into a similar issue... when I call zsh from tmux within Cmder/ConEmu, the status line shows up below the cursor. FYI, I am using Cmder on Windows10, with zsh on Windows Subsystem for Linux, when I use tmux. See screenshot and log files attached.
cmder_tmux_zsh_bug
connector-4660-in.log
connector-4660-out.log

@raghur

This comment has been minimized.

Copy link
Author

raghur commented Jan 7, 2019

I can also confirm the issue in the comment above.

@techexo

This comment has been minimized.

Copy link

techexo commented Feb 13, 2019

@Maximus5 I confirm the issue above with zsh in tmux, using Conemu 190108:
image

Launching ls command:
image

connector-9928-out.log
connector-9928-in.log

tmux launched directly in WSL terminal emulator works as intended.

@techexo

This comment has been minimized.

Copy link

techexo commented Feb 13, 2019

Please note that it is only partially due to zsh.
Indeed, the issue doesn't appears at first with bash:
image

but clearing the terminal with C-l is also broken:
image

connector-8416-out.log
connector-8416-in.log

@techexo techexo referenced this issue Feb 14, 2019

Closed

tmux display #1775

@techexo

This comment has been minimized.

Copy link

techexo commented Feb 14, 2019

As stated in #1775, the issue appears on tmux 2.8 but not on 2.3, running Debian WSL.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Feb 17, 2019

@techexo

This comment has been minimized.

Copy link

techexo commented Feb 18, 2019

@Maximus5 The issue with the leading blank line is solved with 190217 as far as I'm concerned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.