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,6 +5,9 @@
'use strict';
module.exports = function (Terminal){
/**
* scroll
*/
Terminal.prototype.scroll = function (){
var row;
@@ -45,6 +48,10 @@ module.exports = function (Terminal){
this.updateRange(this.scrollBottom);
};
/**
* scrollDisp
* @param disp
*/
Terminal.prototype.scrollDisp = function (disp){
this.ydisp += disp;