added mode change - fails because TermWriter broke it
added mode change - fails because TermWriter broke it

beni55/terminal.js,Gottox/terminal.js,Gottox/terminal.js,Gottox/terminal.js,beni55/terminal.js,beni55/terminal.js