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): do not duplicate bracketed paste in chunked stdin input #917

Merged
merged 7 commits into from
Dec 2, 2021

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Dec 2, 2021

Fixes #885

Windows terminal apparently chunks stdin quite a bit, also when pasting. We detect bracketed paste in Zellij and interpret it for performance reasons (we chunk it up to reduce traffic between Zellij's client/server). There were certain cases in which we didn't handle this correctly and ended up duplicating the bracketed paste instruction and so it appeared on screen.

This fixes that.

Thanks @tranzystorek-io for the hand in debugging this!

EDIT: also a bunch of clippy fixes because a new stable rust came in the middle :)

@imsnif imsnif merged commit cbe0d54 into main Dec 2, 2021
@har7an har7an deleted the windows-paste-debug branch October 23, 2022 15:06
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.

Pasting broken on Windows Terminal
1 participant