TerminalStudio / flutter_pty

Pty for Flutter. Provides the ability to create processes with pseudo terminal file descriptors.
https://pub.dev/packages/flutter_pty
MIT License
24 stars 21 forks source link

Add optional read acknowledge #2

Closed devmil closed 2 years ago

devmil commented 2 years ago

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 commented 2 years ago

The windows implementation is currently missing

devmil commented 2 years ago

added Windows implementation as well