]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/Parser.ts
Move `scrollTop` and `scrollBottom` into `Buffer`
[mirror_xterm.js.git] / src / Parser.ts
index 2bb635d8724b777d7dcdd5b52656fc4d1cbbe02d..6679e366d14af8d8c8762a364425405da5168650 100644 (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;