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

Tmux rendering issues #1833

Closed
techexo opened this issue Feb 23, 2019 · 6 comments
Closed

Tmux rendering issues #1833

techexo opened this issue Feb 23, 2019 · 6 comments
Labels
Projects

Comments

@techexo
Copy link

@techexo techexo commented Feb 23, 2019

Versions

ConEmu build: 190217 x64
OS version: Windows 10 64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): WSL with zsh
Task: set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -new_console:m:"" -C~ -t zsh

Problem description

Hi,
There is some rendering issue with tmux2.8 and vim. The main issue seems to be a shift that appears when one actual line is wrapped on two lines.

I'd also want to draw attention to this bug (#1114 (comment)) that describes how the mouse is currently unusable in tmux2.8 with ConEmu, as special characters are displayed at each click or wheel move.

Steps to reproduce

  1. Use tmux2.8, vim
  2. Use two panels in tmux (C-b % by default) then switch to the right panel (C-b Right I think)
  3. Launch vim and force lines to be wrapped on multiple lines.

Actual results

image

Expected results

Using mintty, we can see how it should look like:
image

Additional files

connector-1256-in.log
connector-1256-out.log

@Maximus5 Maximus5 added this to To Do in ANSI via automation Feb 25, 2019
@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Feb 25, 2019

What about 190225?

@techexo
Copy link
Author

@techexo techexo commented Feb 26, 2019

@Maximus5 Both issues are still present on 190225 (drawing issue, and mouse clicks & wheel)

image
connector-4720-out.log
connector-4720-in.log

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 3, 2019

What font settings do you use?

I see proper picture
2019-03-03_15-42-02

@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ANSI Mar 3, 2019
@techexo
Copy link
Author

@techexo techexo commented Mar 3, 2019

Hi @Maximus5,
Thanks for your answer. I use "Powerline Consolas", which is Consolas patched with "powerline" symbols.
However, it is indeed drawn perfectly once I disable the option "Alternative font". Enabling this option (still with Powerline consolas) shifts the lines as shown before.

So we can say the drawing issue is solved (for me anyway).

The issue with mouse clicks displayed in input fields still remains however (and makes tmux almost impossible to use with mouse support). I want to emphasize that is not only shown, it is actual characters added to available fields (command line, text editor...), so one misclick and you have to write again the whole sentence ; you cannot use the mouse wheel etc.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 3, 2019

Have you tried latest release? I mean for drawing issues

I think that mouse in tmux should be separate issue, and seems like one already exist

@techexo
Copy link
Author

@techexo techexo commented Mar 4, 2019

I've tried the latest update 190303. Everything is drawn as it should as soon as I disable Alternative font.

If you want to have a more in-depth look, I use this font: https://github.com/runsisi/consolas-font-for-powerline ; but as I don't have a use for Alternative font, this issue can be closed as far as I'm concerned.

@techexo techexo closed this Apr 7, 2019
ANSI automation moved this from Ready for Testing to Done Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
ANSI
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants