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

Open
techexo opened this Issue Feb 23, 2019 · 6 comments

Comments

2 participants
@techexo
Copy link

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

This comment has been minimized.

Copy link
Owner

Maximus5 commented Feb 25, 2019

What about 190225?

@techexo

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Owner

Maximus5 commented Mar 3, 2019

What font settings do you use?

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

@Maximus5 Maximus5 added the drawing label Mar 3, 2019

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

@techexo

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Author

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.

DanaMW added a commit to DanaMW/ConEmu that referenced this issue Mar 4, 2019

Merge remote-tracking branch 'upstream/master'
* upstream/master:
  190303 release files
  190303 Chocolatey and Nuget
  Internal. Remove assertion: Under pwsh.exe we have GetConsoleOutputCP=65001 and GetConsoleCP=437
  Add default tasks for ‘PowerShell Core’.
  Changes in default tasks generation.
  Icon was not autoloaded for some tabs (e.g. `pwsh.exe`).
  Maximus5gh-1833: Fix border rendering issues (bar placement).
  Allow to do `Copy all` from load dump screen.
  The `-FontSize` is better name to change font size switch.
  Maximus5gh-1840: Fix hung during startup if Environment contains `echo -x ...`.
  Internal. Fix NextArg declaration
  Internal. GetData is used during load screen dump
  Internal. COMMON_LVB_REVERSE_VIDEO is too tough condition
  Internal. AnsiDbg -utf8 switch
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.