1 | ;
|
2 |
|
3 | module.exports = function (Terminal) {
|
4 | Terminal.prototype.updateRange = function(y) {
|
5 | if (y < this.refreshStart) this.refreshStart = y;
|
6 | if (y > this.refreshEnd) this.refreshEnd = y;
|
7 | };
|
8 |
|
9 | Terminal.prototype.maxRange = function() {
|
10 | this.refreshStart = 0;
|
11 | this.refreshEnd = this.rows - 1;
|
12 | };
|
13 | };
|