Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5acc2af

Browse filesBrowse files
WIP: Xterm update (#2237)
* WIP: Xterm Update
1 parent 56c64cb commit 5acc2af
Copy full SHA for 5acc2af

File tree

8 files changed

+162
-143
lines changed
Filter options

8 files changed

+162
-143
lines changed

‎core/package-lock.json

Copy file name to clipboardExpand all lines: core/package-lock.json
+136-117Lines changed: 136 additions & 117 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎core/package.json

Copy file name to clipboardExpand all lines: core/package.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,20 @@
8181
"@webreflection/toml-j0.4": "^1.1.3",
8282
"@xterm/addon-fit": "^0.10.0",
8383
"@xterm/addon-web-links": "^0.11.0",
84+
"@xterm/xterm": "^5.5.0",
8485
"bun": "^1.1.34",
8586
"chokidar": "^4.0.1",
8687
"codedent": "^0.1.2",
8788
"codemirror": "^6.0.1",
8889
"eslint": "^9.14.0",
8990
"flatted": "^3.3.1",
90-
"rollup": "^4.24.4",
91+
"rollup": "^4.25.0",
9192
"rollup-plugin-postcss": "^4.0.2",
9293
"rollup-plugin-string": "^3.0.0",
9394
"static-handler": "^0.5.3",
9495
"string-width": "^7.2.0",
9596
"typescript": "^5.6.3",
96-
"xterm": "^5.3.0",
97-
"xterm-readline": "^1.1.1"
97+
"xterm-readline": "^1.1.2"
9898
},
9999
"repository": {
100100
"type": "git",

‎core/rollup/3rd-party.cjs

Copy file name to clipboardExpand all lines: core/rollup/3rd-party.cjs
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ const modules = {
4646
"toml.js": join(node_modules, "@webreflection", "toml-j0.4", "toml.js"),
4747

4848
// xterm
49-
"xterm.js": resolve("xterm"),
49+
"xterm.js": resolve("@xterm/xterm"),
5050
"xterm-readline.js": resolve("xterm-readline"),
5151
"xterm_addon-fit.js": fetch(`${CDN}/@xterm/addon-fit/+esm`).then((b) =>
5252
b.text(),
5353
),
5454
"xterm_addon-web-links.js": fetch(
5555
`${CDN}/@xterm/addon-web-links/+esm`,
5656
).then((b) => b.text()),
57-
"xterm.css": fetch(`${CDN}/xterm@${v("xterm")}/css/xterm.min.css`).then(
58-
(b) => b.text(),
59-
),
57+
"xterm.css": fetch(
58+
`${CDN}/@xterm/xterm@${v("@xterm/xterm")}/css/xterm.min.css`,
59+
).then((b) => b.text()),
6060

6161
// codemirror
6262
"codemirror.js": reBundle("codemirror"),

‎core/src/3rd-party/xterm-readline.js

Copy file name to clipboardExpand all lines: core/src/3rd-party/xterm-readline.js
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎core/src/3rd-party/xterm.css

Copy file name to clipboardExpand all lines: core/src/3rd-party/xterm.css
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎core/src/3rd-party/xterm.js

Copy file name to clipboardExpand all lines: core/src/3rd-party/xterm.js
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎core/types/3rd-party/xterm-readline.d.ts

Copy file name to clipboardExpand all lines: core/types/3rd-party/xterm-readline.d.ts
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
declare var b: any;
2-
declare var I: boolean;
3-
declare namespace r {
1+
declare var v: any;
2+
declare var k: boolean;
3+
declare namespace i {
44
export let __esModule: boolean;
55
export { Readline };
66
}
@@ -57,7 +57,7 @@ declare class Readline {
5757
highlighter: any;
5858
history: any;
5959
promptSize: any;
60-
layout: p;
60+
layout: c;
6161
buffer(): string;
6262
shouldHighlight(): boolean;
6363
clearScreen(): void;
@@ -124,15 +124,15 @@ declare class Readline {
124124
readPaste(t: any): void;
125125
readKey(t: any): void;
126126
}
127-
declare class p {
127+
declare class c {
128128
constructor(t: any);
129129
promptSize: any;
130-
cursor: c;
131-
end: c;
130+
cursor: u;
131+
end: u;
132132
}
133-
declare class c {
133+
declare class u {
134134
constructor(t: any, e: any);
135135
row: any;
136136
col: any;
137137
}
138-
export { b as Readline, I as __esModule, r as default };
138+
export { v as Readline, k as __esModule, i as default };

‎core/types/3rd-party/xterm.d.ts

Copy file name to clipboard
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare var i: any;
2-
declare var s: any;
3-
declare var t: {};
4-
export { i as Terminal, s as __esModule, t as default };
1+
declare var D: any;
2+
declare var R: any;
3+
declare var L: {};
4+
export { D as Terminal, R as __esModule, L as default };

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.