lib/terminal.js
function Terminal(options) {
	Terminal.super_.call(this, { decodeStrings: false });

	this.options = myUtil.extend({
		columns: 80,
		rows: 24,
		attributes: {}
	}, options || {});
	this.rows = ~~this.rows;
	this.columns = ~~this.columns;
	this.state = new TermState(this.options);
	this.oldChunk = null;
	this.on("pipe", this._pipe);
}
function Terminal(options) {
	Terminal.super_.call(this, { decodeStrings: false });

	this.options = myUtil.extend({
		columns: 80,
		rows: 24,
		attributes: {}
	}, options || {});
	this.rows = ~~this.rows;
	this.columns = ~~this.columns;
	this.state = new TermState(this.options);
	this.oldChunk = null;
	this.on("pipe", this._pipe);
}
function Terminal ( options ) { Terminal . super_ . call ( this , { decodeStrings : false } ) ; this . options = myUtil . extend ( { columns : 80 , rows : 24 , attributes : { } } , options || { } ) ; this . rows = ~ ~ this . rows ; this . columns = ~ ~ this . columns ; this . state = new TermState ( this . options ) ; this . oldChunk = null ; this . on ( "pipe" , this . _pipe ) ; }
Terminal is the glue between a TerminalState and the escape sequence
interpreters.
@constructor
Terminal is the glue between a TerminalState and the escape sequence interpreters .