add @xterm/addon-webgl package

xterm.js' new DOM renderer seems to have some visual glitches,
try using the webgl renderer first before falling back
This commit is contained in:
llama 2025-10-18 09:43:41 +08:00
parent 778955beb0
commit 7048730503
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3
2 changed files with 11 additions and 0 deletions

View file

@ -70,6 +70,7 @@
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@tauri-apps/api": "^2", "@tauri-apps/api": "^2",
"@tauri-apps/plugin-log": "^2.7.0", "@tauri-apps/plugin-log": "^2.7.0",
"@xterm/addon-webgl": "^0.18.0",
"@xterm/xterm": "^5.5.0", "@xterm/xterm": "^5.5.0",
"bootstrap": "^5.3.0", "bootstrap": "^5.3.0",
"bootstrap-icons": "^1.10.5", "bootstrap-icons": "^1.10.5",

View file

@ -1803,6 +1803,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@xterm/addon-webgl@npm:^0.18.0":
version: 0.18.0
resolution: "@xterm/addon-webgl@npm:0.18.0"
peerDependencies:
"@xterm/xterm": ^5.0.0
checksum: 10c0/682a3f5f128ee09a0cf1b41cbb7b2f925a5e43056e12ba0c523b93a1f5f188045caef9e31f32db933b8a7a1b12d8f9babaddfa11e6f11df0c7b265009103476c
languageName: node
linkType: hard
"@xterm/xterm@npm:^5.5.0": "@xterm/xterm@npm:^5.5.0":
version: 5.5.0 version: 5.5.0
resolution: "@xterm/xterm@npm:5.5.0" resolution: "@xterm/xterm@npm:5.5.0"
@ -1941,6 +1950,7 @@ __metadata:
"@types/node": "npm:^22" "@types/node": "npm:^22"
"@typescript-eslint/eslint-plugin": "npm:^5.60.1" "@typescript-eslint/eslint-plugin": "npm:^5.60.1"
"@typescript-eslint/parser": "npm:^5.60.1" "@typescript-eslint/parser": "npm:^5.60.1"
"@xterm/addon-webgl": "npm:^0.18.0"
"@xterm/xterm": "npm:^5.5.0" "@xterm/xterm": "npm:^5.5.0"
bootstrap: "npm:^5.3.0" bootstrap: "npm:^5.3.0"
bootstrap-icons: "npm:^1.10.5" bootstrap-icons: "npm:^1.10.5"