An offscreen xterm like ANSI terminal library.
The terminal implements the interface of the node-ansiparser in ECMA5 vanilla javascript.
Quick usage example:
var AnsiTerminal = AnsiTerminal;var AnsiParser = ;var terminal = 80 25 500;var parser = terminal;parser;console;
See examples for some output examples or jquery.browserterminal for a jquery based browser frontend.
Documentation
See the API documentation.
TODO:
- remove box printing chars special handling (goes to frontend)
- bracketed paste mode
- tabs, tab stops, tab width, tab output
- tons of DCS and DEC special codes
- advanced tests, vttest
- rework mouse handling
- more test cases
- complete doc