Skip to content
Gottox edited this page Apr 22, 2013 · 1 revision

Escape Sequences are explained at http://www.xfree86.org/current/ctlseqs.html

A reference implementation of terminal.js can be found at https://github.com/c3ks/node-webterminal

I'm using a patched version of ttyrec, which enables stepping throught the output by pressing [space] or [enter]. See https://gist.github.com/Gottox/5432821 for the patch

For debugging it makes sense to set a breakpoint to the write() function at terminal.js. At least in Chrome, you can use this.toString(1) (or term.toString(1) in other classes) while debugging to get the current content of the buffer.

Clone this wiki locally