sendText
Send text to the terminal. The text is written to the stdin of the underlying pty process (shell) of the terminal.
Parameters
text
The text to send.
shouldExecute
Indicates that the text being sent should be executed rather than just inserted in the terminal. The character(s) added are \n
or \r\n
, depending on the platform. This defaults to true
.