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

Neovim/tmux rendering glitches after resize #1492

Closed
parkovski opened this issue Jun 23, 2019 · 3 comments
Closed

Neovim/tmux rendering glitches after resize #1492

parkovski opened this issue Jun 23, 2019 · 3 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@parkovski
Copy link

Environment

  • Windows 10.0.18362.175
  • tmux
  • Neovim 0.3.7

Steps to reproduce

Open Neovim (Windows version) inside of tmux and resize the window. If it's not glitching yet, try scrolling around with Ctrl-D/Ctrl-U. Making the window smaller seems to be ok sometimes, but I see glitches if I maximize, restore, resize the window to be larger, or resize a tmux pane. Interestingly, regular vim has problems with maximize/restore, but not resizing by dragging the window edge. I think there is a separate bug there but I'll keep that to a separate issue.

Now for the really strange part. Open a second console window. Tmux and neovim are fixed now. Resize the first window to make it glitchy again, and then resize the second window. Fixed again.

Somehow resizing a regular console window makes unrelated PTY buffers set the correct size.

Expected behavior

For one, resizing should not make programs glitchy, but I certainly didn't expect the sort of "fix" I found either.

Actual behavior

Probably better to just show what's going on.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jun 23, 2019
@ibuioli
Copy link

ibuioli commented Jun 24, 2019

This is a common error on Terminals that working on Windows and the WSL (Hyper has the same bugs). However it must be fixed. This happend on tmux, vim, neovim and even nano. Here is a screenshot of Nano, when resize Terminal to fullscreen and then window size again:

nano_on_wt

The "bottom tools" broken, and the format of space is incorrect.

@andres-pcg
Copy link

This same behavior also happens when using powershell, windows terminal, or cmd to connect through ssh to any linux like enviroment and trying to edit a file using nano, vi, vim or any other editor. git-bash handles this properly. It would be great if we can have this messy issue fix.

@DHowett-MSFT
Copy link
Contributor

Using #1465 as the main issue tracking resize.

@DHowett-MSFT DHowett-MSFT added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants