Ask a question to get started
Enter to send•Shift+Enter new line
closeInput()
Half-close stdin so the command reads EOF.
Idempotent, and a no-op under a PTY, where input and output share one terminal file descriptor and there is no write end to close -- send an EOT byte (0x04) with sendInput instead.