lib/Terminal.js
function onResize() {
	if ( this.stdout.columns && this.stdout.rows ) {
		this.width = this.stdout.columns ;
		this.height = this.stdout.rows ;
	}

	this.emit( 'resize' , this.width , this.height ) ;
}
function onResize() {
	if ( this.stdout.columns && this.stdout.rows ) {
		this.width = this.stdout.columns ;
		this.height = this.stdout.rows ;
	}

	this.emit( 'resize' , this.width , this.height ) ;
}
function onResize ( ) { if ( this . stdout . columns && this . stdout . rows ) { this . width = this . stdout . columns ; this . height = this . stdout . rows ; } this . emit ( 'resize' , this . width , this . height ) ; }
Called by either SIGWINCH signal or stdout's 'resize' event. It is not meant to be used by end-user.
Called by either SIGWINCH signal or stdout s resize event . It is not meant to be used by end - user .