-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
Scrolling in text editors like nano/vim is jittery/jerky, framerate seems inconsistent #3793
Comments
The render performance of zellij was a little below what I could tolerate, so I spent a while customising kitty instead and will use tmux when I have to for now, it's inconvenient that it doesn't yet support the kitty keyboard protocol but at least the render performance is adequate for me. I wrote a kitten to forward my next/previous/create tab arguments to tmux if it's running, otherwise use native kitty tabs. And some other python to customise the kitty tab bar. So now whether I'm using kitty, tmux or zellij everything looks the same. |
Is this related to #2548? Would merging this help address issues related to scrolling |
I have no idea, I'll try it |
@koalazub Yeah that really improve performance for me (I tried |
zellij --version
: zellij 0.41.1stty size
: 34 116uname -av
: Linux rats 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64 GNU/LinuxIssue description
Scrolling in
neovim
by holdingj
ork
looks choppy, or innano
by holding<up>
or<down>
, like the framerate is tanking. Outside ofzellij
(or intmux
) everything looks smooth and consistent. This happens with an empty (default)neovim
configuration (e.g.nvim --clean
) but given it happens innano
also I guess it's not specific to any editor or app with fast scrolling.Minimal reproduction
nvim --clean <large file>
j
.zellij
.nano <large file>
and holding the down arrow.Other relevant information
Rendering within
neovim
in general seems quite a lot slower, for example with:set showcmd
, outside ofzellij
the updates are so quick you never even glimpse the echod commands, but withzellij
they are commonly visible.I used
time nvim <large file>
and scrolled to the bottom before exiting, and the times were approximately the same whether inside ofzellij
or not, so it only seems the rendering is affected and not the actual speed of scrolling.This issue does not occur with
tmux
.Also note I have a fast/modern CPU:
The text was updated successfully, but these errors were encountered: