I've recently found xterm and node-pty which are great tools and have implemented them into my app. However, when I write to the terminal with xterm.write("something\r\n\") or xterm.writeln("something") the terminal goes to the next line but never actually performs the command. When typing and hitting enter in xterm itself it works perfectly.
Anyone here that can help me out?
Thanks!