Skip to content

Commit 609ea97

Browse files
committed
Uplevel xterm.js
Brings in an API breakage
1 parent 829731d commit 609ea97

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

npm-shrinkwrap.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"vscode-debugprotocol": "1.24.0",
4545
"vscode-ripgrep": "0.6.0-patch.0",
4646
"vscode-textmate": "^3.2.0",
47-
"xterm": "Tyriar/xterm.js#vscode-release/1.18",
47+
"xterm": "Tyriar/xterm.js#vscode-release/1.19",
4848
"yauzl": "2.8.0"
4949
},
5050
"devDependencies": {

src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export class TerminalInstance implements ITerminalInstance {
534534
}
535535

536536
public scrollDownLine(): void {
537-
this._xterm.scrollDisp(1);
537+
this._xterm.scrollLines(1);
538538
}
539539

540540
public scrollDownPage(): void {
@@ -546,7 +546,7 @@ export class TerminalInstance implements ITerminalInstance {
546546
}
547547

548548
public scrollUpLine(): void {
549-
this._xterm.scrollDisp(-1);
549+
this._xterm.scrollLines(-1);
550550
}
551551

552552
public scrollUpPage(): void {

0 commit comments

Comments
 (0)