View Single Post
Old 07-30-2021, 02:05 PM
gregg gregg is offline
Registered User
Join Date: Oct 2010
Posts: 75

Try using:

Screen.IgnoreEscape = True

From the docs:

By default, ReadString will capture all data received from the remote, including escape sequences. To enable or disable the inclusion of escape sequences in the data captured by ReadString, set the Screen.IgnoreEscape property to false/true, respectively.

If the remote side is sending escape sequences and Screen.IgnoreEscape is set to true, ReadString will return the string "plug" when "p" was drawn in the upper left corner, "l" in the upper right corner, "u" in the bottom left corner, and "g" in the bottom right corner.
Reply With Quote