michaelko / simpleterm

A very simple terminal emulator in javascript
4 stars 2 forks source link

Escape are not always parsed correctly. #2

Closed michaelko closed 11 years ago

michaelko commented 11 years ago

See termtest.html

term.write(String.fromCharCode(33));
term.write("[42m Hallo");

Works, but

term.write("[4");
term.write("2m Hallo\n\r")

Does not.

michaelko commented 11 years ago

Fixed