Skip to content

Commit

Permalink
Updated to the new version of @xterm/addon-fit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozy-Viking committed Dec 13, 2023
1 parent 7e2c614 commit 10253c2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Terminal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script>
import { Terminal } from "xterm";
import { FitAddon } from 'xterm-addon-fit';
import { FitAddon } from "@xterm/addon-fit";
import { WebLinksAddon } from "xterm-addon-web-links";
import { TERMINAL_COLS, TERMINAL_ROWS } from "../../../backend/util-common";
Expand Down Expand Up @@ -59,7 +59,7 @@ export default {
default: "displayOnly",
}
},
emits: ["has-data"],
emits: [ "has-data" ],
data() {
return {
first: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"ts-command-line-args": "~2.5.1",
"tsx": "~4.6.2",
"type-fest": "~4.3.3",
"xterm-addon-fit": "^0.8.0",
"yaml": "~2.3.4"
},
"devDependencies": {
Expand All @@ -70,6 +69,7 @@
"@typescript-eslint/eslint-plugin": "~6.8.0",
"@typescript-eslint/parser": "~6.8.0",
"@vitejs/plugin-vue": "~4.5.2",
"@xterm/addon-fit": "0.9.0-beta.1",
"bootstrap": "5.3.2",
"bootstrap-vue-next": "~0.14.10",
"concurrently": "^8.2.2",
Expand Down
23 changes: 12 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 10253c2

Please sign in to comment.