mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-17 16:34:25 +08:00
update files
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user