update files

This commit is contained in:
nuintun
2015-11-26 11:45:31 +08:00
parent 93b8d9342b
commit 8d2af4a433
14 changed files with 178 additions and 82 deletions

View File

@@ -5,11 +5,16 @@
'use strict';
module.exports = function (Terminal){
/**
* resize
* @param x
* @param y
*/
Terminal.prototype.resize = function (x, y){
var line, element, i, j, ch;
if (x < 1) x = 1;
if (y < 1) y = 1;
// resize cols