Open goertzenator opened 3 years ago
This patch adds a 20ms timeout to getBlockOfChars when an ESC character is seen. This forces getBlockOfChars to wait for a whole escape sequence which could otherwise get fragmented on a slow connection.
getBlockOfChars
Some useful reference information on this topic: https://stackoverflow.com/a/3219355/398021
Fixes issue #160
This patch adds a 20ms timeout to
getBlockOfChars
when an ESC character is seen. This forcesgetBlockOfChars
to wait for a whole escape sequence which could otherwise get fragmented on a slow connection.Some useful reference information on this topic: https://stackoverflow.com/a/3219355/398021
Fixes issue #160