Move scrollTop and scrollBottom into Buffer

This commit is contained in:
Paris Kasidiaris
2017-07-16 03:47:15 +03:00
committed by Paris Kasidiaris
parent d75e0b99d5
commit 4626e19b75
7 changed files with 56 additions and 71 deletions
+2 -2
View File
@@ -499,9 +499,9 @@ export class Parser {
// DECSTBM
case 'r':
pt = ''
+ (this._terminal.scrollTop + 1)
+ (this._terminal.buffer.scrollTop + 1)
+ ';'
+ (this._terminal.scrollBottom + 1)
+ (this._terminal.buffer.scrollBottom + 1)
+ 'r';
break;