<text-console>.input "string" [delay]
Sends a string as input to a text console. The first character is delayed by 0.01 seconds by default, to wait for the simulated software to be ready after a previous break on string. To input the string immediately, specify delay = 0. The delay is given in seconds. There is no delay inserted between every character.
The command supports common escape sequences such as "\n" for new line and "\t" for tab.
Octal or hexadecimal escape sequences can be used to send control characters to the console, for example "\003" or "\x03" for Ctrl-C.
xterm-console
<text-console>.wait-then-write