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

Add support for synchronized output to prevent tearing #516

Open
JakeWharton opened this issue Aug 21, 2024 · 3 comments
Open

Add support for synchronized output to prevent tearing #516

JakeWharton opened this issue Aug 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@JakeWharton
Copy link

If I run an application which continuously sends large chunks of text + ANSI control sequences to stdout, I sometimes see the cursor jump to the middle of the rendering. The application is enabling mode 2026 and sending the end-of-frame sequences. VHS should track whether this mode is enabled and not re-render a frame until it sees the end-of-frame sequence.

More details available at https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036

@JakeWharton JakeWharton added the enhancement New feature or request label Aug 21, 2024
@Delta456
Copy link
Contributor

Is this Windows? I can't reproduce this on Linux and Mac.

@JakeWharton
Copy link
Author

I'm on Mac. I can try to write a repo. I suspect two echos each having half the sync marker with a sleep in between might do it.

@Delta456
Copy link
Contributor

Please do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants