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(compatibility): fix neovim scrolling #107

Merged
merged 2 commits into from
Dec 17, 2020

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Dec 16, 2020

This fixes an issue where neovim did not scroll up/down properly (it deleted the whole screen).

This happened because we previously treated clearing the scroll region as deleting all of it (in order to re-create the vim/htop/etc. behaviour of returning to the previous terminal state when exiting the app). This apparently happens in a different signal (mode setting with CSI l/h). Moved it there and it fixed this bug (as well as keeping the behaviour of clearing the terminal buffer when exiting vim/htop).

@imsnif imsnif merged commit 97d2c83 into zellij-org:main Dec 17, 2020
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.

None yet

1 participant