The interpreter behaves well when a \n (LF) is issued, but not when a \r (CR) is sent. There is some code to handle this but it's obviously not working correctly. It also doesn't work well when a \r\n (CRLF) is sent, which I believe is the default behaviour of a few terminal programs.
The interpreter behaves well when a
\n
(LF) is issued, but not when a\r
(CR) is sent. There is some code to handle this but it's obviously not working correctly. It also doesn't work well when a\r\n
(CRLF) is sent, which I believe is the default behaviour of a few terminal programs.