Skip to content

Commit

Permalink
build: update xterm to use @xterm/headless (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Chapman Pendery <[email protected]>
  • Loading branch information
cpendery committed Mar 11, 2024
1 parent c2594ce commit 8fb1a26
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
13 changes: 7 additions & 6 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/tuitest.git"
"url": "git+https://github.com/microsoft/tui-test.git"
},
"author": "Microsoft Corporation",
"license": "MIT",
"homepage": "https://github.com/microsoft/tuitest#readme",
"homepage": "https://github.com/microsoft/tui-test#readme",
"files": [
"lib/**",
"index.js",
Expand All @@ -44,7 +44,7 @@
"proper-lockfile": "^4.1.2",
"which": "^4.0.0",
"workerpool": "^9.1.0",
"xterm-headless": "^5.3.0"
"@xterm/headless": "^5.3.0"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
Expand Down
2 changes: 1 addition & 1 deletion src/terminal/locator.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { IBufferCell, Terminal as XTerminal } from "xterm-headless";
import { IBufferCell, Terminal as XTerminal } from "@xterm/headless";
import ms from "pretty-ms";
import { poll } from "../utils/poll.js";
import { Terminal } from "./term.js";
Expand Down
2 changes: 1 addition & 1 deletion src/terminal/term.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.

import pty, { IPty, IEvent } from "@homebridge/node-pty-prebuilt-multiarch";
import xterm from "xterm-headless";
import xterm from "@xterm/headless";
import process from "node:process";
import { EventEmitter } from "node:events";

Expand Down

0 comments on commit 8fb1a26

Please sign in to comment.