update files

This commit is contained in:
nuintun
2015-11-24 19:00:34 +08:00
parent bc67b1c0d1
commit 29ec604905
30 changed files with 2009 additions and 8849 deletions

View File

@@ -0,0 +1,15 @@
'use strict';
module.exports = function (Terminal){
Terminal.prototype.scrollDisp = function (disp){
this.ydisp += disp;
if (this.ydisp > this.ybase) {
this.ydisp = this.ybase;
} else if (this.ydisp < 0) {
this.ydisp = 0;
}
this.refresh(0, this.rows - 1);
};
};