Higher input_delay required to prevent lag in updating screen
#6493
Replies: 2 comments 2 replies
-
|
This will be because the software you are using is drawing too slowly and not using the atomic screen update facilities modern terminals like kitty provide. So kitty will end up rendering partial updates. increasing input delay just causes kitty to wait longer before rendering input it receives giving these programs time to finish drawing. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
If you are seeing a shell prompt not being drawn for a second, there is
definitely something wrong with your shell rc files, probably something
conditioned on TERM
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thanks for Kitty, it's a really nice terminal and I love the features.
I had however some trouble setting it up. Initially I experienced the following things:
nano. Sometimes the old page would remain partial visible for one or two seconds, before being updated to the new page. This could be half a page, or only a couple of lines.I spent a lot of time trying to debug this. Blaming it on shell integration, font,
repaint_delayorsync_to_monitor. Always testing with akitty -c NONEto prevent other settings from interfering.What worked for me finally was increasing the
input_delaysetting to 20 ms. After that, all above issues disappeared completely. Kitty is super fast now.So sharing this story, because I saw no one with similar issues. And I blamed it for a long time on the shell being slow or laggy. And also because I'm wondering if setting a higher
input_delayis the correct fix, or if it's hiding something else. Does anyone know?Maybe related, is that I use a relatively high key repetition rate of 50 per second (
xset r rate 200 50). And this is all on a Linux Pop!OS 22.04 install, with the latest kitty 0.29.1Beta Was this translation helpful? Give feedback.
All reactions