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

fix(rendering): do not render cursor if there's nothing to render #3439

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Jun 21, 2024

Fixes #3208

This fixes an issue where we would sometimes needlessly send an instruction to render the cursor in its current coordinates, even when the output buffer was not dirty. This affected very few cases, since normally the cursor rendering is a no-op, but in programs that render heavily to the terminal (eg. nvim floating windows) this sometimes created a flicker.

@imsnif imsnif changed the title fix(rendering): do not render cursor if there's nothign to render fix(rendering): do not render cursor if there's nothing to render Jun 21, 2024
@imsnif imsnif merged commit 3edc7ce into main Jun 21, 2024
6 checks passed
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.

Zellij + Noice.nvim causes screen flickering.
1 participant