I'm attempting to interact with this module programmatically (via node-pty and a child process) and noticed that I have to send the \r char separately (and after a short delay, so that the OS sends the data separately) from the rest of the payload.
So basically this does not work:
child.write('foo@bar.com\r');
But this does:
child.write('foo@bar.com');
await sleep(100);
child.write('\r');