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 optional read acknowledge #2

Merged
merged 7 commits into from
May 24, 2022

Conversation

devmil
Copy link
Contributor

@devmil devmil commented May 14, 2022

This PR adds an optional acknowledge mechanism that allows the consumer of the pty data to signal that it has finished processing it.
This way it is prevented that the pty process is sending data faster than the consumer is able to process.

An example of this happening is if e.g. cmatrix -r is run and set to full speed (pressing 0)

devmil added 3 commits May 14, 2022 21:15
ARM works
cmatrix -r in high speed is problematic (maybe the ack mechanism is needed again)
composing state input doesn't work
this is handy to avoid the read thread reading stuff faster than the processing can process it
@devmil
Copy link
Contributor Author

devmil commented May 14, 2022

The windows implementation is currently missing

@xtyxtyx xtyxtyx self-assigned this May 16, 2022
@devmil
Copy link
Contributor Author

devmil commented May 21, 2022

added Windows implementation as well

@xtyxtyx xtyxtyx merged commit 95c80a2 into TerminalStudio:main May 24, 2022
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.

2 participants