Skip to content

Conversation

@leo-arch
Copy link

As the title says, this PR considerably reduces screen and cursor flickering.

Explanation: it avoids calling draw() for each byte in a key sequence, making a single call only once the sequence is complete. This way, we reduce the number of calls from 4-5 to just 1, which greatly improves responsiveness and reduces flickering.

Also, I added a few new tty functions to control the cursor visibility: it should be hidden while we're listing entries, and unhidden once we're done.

Hope this helps.

@leo-arch leo-arch mentioned this pull request Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant