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(output-buffer): truncate grid height when not rendering it fully #3750

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Nov 8, 2024

This fixes a rendering issue where sometimes when terminals would render themselves multiple times while being resized, their output would "spill" onto other panes. This is now fixed by always truncating the rendered buffer to the grid sized, even when it's cached and only partially rendered.

@imsnif imsnif merged commit 23d2555 into main Nov 8, 2024
6 checks passed
Tomcat-42 pushed a commit to Tomcat-42/zellij that referenced this pull request Nov 9, 2024
…ellij-org#3750)

* fix(output-buffer): truncate grid height when not rendering it fully

* also fix for cases where the changed lines are not contiguous
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