Skip to content

Commit 4fde2c7

Browse files
committed
feature: package: xterm v5.0.0
1 parent cf44905 commit 4fde2c7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

client/gritty.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function createTerminal(terminalContainer, {env, cwd, command, autoRestart, sock
6666
scrollback: 1000,
6767
tabStopWidth: 4,
6868
fontFamily,
69+
allowProposedApi: true,
6970
});
7071

7172
terminal.open(terminalContainer);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"supertape": "^7.6.0",
8383
"webpack": "^5.1.3",
8484
"webpack-cli": "^4.0.0",
85-
"xterm": "^4.14.1",
85+
"xterm": "^5.0.0",
8686
"xterm-addon-fit": "^0.5.0",
8787
"xterm-addon-webgl": "^0.12.0"
8888
},

test/client/gritty.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const Terminal = stub().returns({
2626
open,
2727
focus,
2828
writeln: stub(),
29-
setOption: stub(),
3029
cols: 80,
3130
rows: 25,
3231
loadAddon: stub(),
@@ -70,6 +69,7 @@ test('gritty: Terminal: args', (t) => {
7069
scrollback: 1000,
7170
tabStopWidth: 4,
7271
fontFamily: _defaultFontFamily,
72+
allowProposedApi: true,
7373
};
7474

7575
gritty();
@@ -89,6 +89,7 @@ test('gritty: Terminal: args: fontFamily', (t) => {
8989
scrollback: 1000,
9090
tabStopWidth: 4,
9191
fontFamily,
92+
allowProposedApi: true,
9293
};
9394

9495
gritty(el, {

0 commit comments

Comments
 (0)