Skip to content

Commit

Permalink
Update npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
strtok committed Apr 6, 2024
1 parent a194f15 commit 98f49a8
Show file tree
Hide file tree
Showing 5 changed files with 4,858 additions and 54 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
.vscode/*
node_modules/
pkg/
marwood-wasm/package-lock.json
marwood-wasm/www/package-lock.json
6 changes: 6 additions & 0 deletions marwood-wasm/package-lock.json

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

9 changes: 5 additions & 4 deletions marwood-wasm/www/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Terminal } from "xterm";
import "xterm/css/xterm.css";
import { Readline } from "xterm-readline";
import { FitAddon } from "xterm-addon-fit";
import { WebLinksAddon } from "xterm-addon-web-links";
import { Unicode11Addon } from "xterm-addon-unicode11";
import * as XtermWebfont from "xterm-webfont";
import { FitAddon } from "@xterm/addon-fit";
import { WebLinksAddon } from "@xterm/addon-web-links";
import { Unicode11Addon } from "@xterm/addon-unicode11";
import * as XtermWebfont from "@liveconfig/xterm-webfont";
import { Buffer } from "buffer";
import { Vm } from "./vm";
import { inflate } from "pako";
Expand All @@ -19,6 +19,7 @@ const term = new Terminal({
fontSize: 14,
cursorBlink: true,
cursorStyle: "block",
allowProposedApi: true,
});

term.loadAddon(new XtermWebfont());
Expand Down
Loading

0 comments on commit 98f49a8

Please sign in to comment.