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)
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 (pressing0
)