-
-
Notifications
You must be signed in to change notification settings - Fork 841
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 vertical split redrawing bug #5488
Comments
I have the exact same issue, I noticed it only happens with |
@lmcanavals Thanks a lot that fixed it. I will keep this issue open, before it was working even with the 'config.term' being set to 'wezterm'. |
Arigato gojaimaszu! Worked perfectly for me, will reference in another relevant ticket. Seems like a recent bug, was NOT the issue a month ago. Cheers! <3 |
@tjex I wasn't using at the time of opening the issue. |
Hello everyone! I was experiencing the same issue as @b-jure. I fixed it by installing and updating WezTerm terminfo by following the documentation for term, namely I ran the script snippet that downloads and updates the terminfo for WezTerm: tempfile=$(mktemp) \
&& curl -o $tempfile https://raw.githubusercontent.com/wez/wezterm/main/termwiz/data/wezterm.terminfo \
&& tic -x -o ~/.terminfo $tempfile \
&& rm $tempfile Afterwards, in Neovim, having vertically split buffers and scrolling the right one does not scroll the left one. Also, the I hope this helps. |
@Tibor5 and @lmcanavals provided the fix, since it is working I will close this issue for now. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
i3
WezTerm version
20240520-135708-b8f94c47
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
When in neovim vertical split, all of the panes to the left of the current pane are also scrolled up/down instead of only the active pane being scrolled (panes to the right are not affected). Additionally it scrolls always at the same margin, meaning the vertical line where this redraw bug occurs is always at the same fixed position. Focusing/moving to any pane after the bug redraws everything correctly.
To Reproduce
wezterm
terminal.nvim
.Configuration
Expected Behavior
Right vertical pane buffer is scrolled without affecting/scrolling other neovim pane/s to the left.
Logs
14:51:18.785 INFO wezterm_gui > Spawned your command via the existing GUI instance.
Use wezterm start --always-new-process if you do not want this behavior.
Result=SpawnResponse { tab_id: 4, pane_id: 4, window_id: 4, size: TerminalSize { rows: 24, cols: 80, pixel_width: 640, pixel_height: 384, dpi: 0 } }
Anything else?
bug.mp4
The text was updated successfully, but these errors were encountered: