|
The app I'm working on requires that the last thing it does is sends 2 escape keys. I have tried
and
and
all 3 with and without
in between the 2 escape keys. Methods 1 and 3 are typing the escape key unicode sequence instead of sending as a key press, depending on the function key mode set (Linux, LinuxAlternative, Common, XtermR6, all work for the F-keys that the app uses) either as "0[21~" or "[21~", after the second escape key is sent. Method 2 is writing "" to the screen for both key presses. |
|
You were quite near. The code should look like this:
It is because the Basically, you want to send a string which contains two escapes. The easiest way is the following: VB .NET
C#
|