Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update xterm to use @xterm/headless #206

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"wcwidth": "^1.0.1",
"which": "^4.0.0",
"wrap-ansi": "^8.1.0",
"xterm-headless": "^5.3.0"
"@xterm/headless": "^5.3.0"
},
"devDependencies": {
"@microsoft/tui-test": "^0.0.1-rc.3",
Expand Down
2 changes: 1 addition & 1 deletion src/isterm/commandManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.

import convert from "color-convert";
import { IBufferCell, IMarker, Terminal } from "xterm-headless";
import { IBufferCell, IMarker, Terminal } from "@xterm/headless";
import os from "node:os";
import { Shell } from "../utils/shell.js";
import log from "../utils/log.js";
Expand Down
2 changes: 1 addition & 1 deletion src/isterm/pty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import fs from "node:fs";
import pty, { IPty, IEvent } from "@homebridge/node-pty-prebuilt-multiarch";
import { Shell, getPythonPath, userZdotdir, zdotdir } from "../utils/shell.js";
import { IsTermOscPs, IstermOscPt, IstermPromptStart, IstermPromptEnd } from "../utils/ansi.js";
import xterm from "xterm-headless";
import xterm from "@xterm/headless";
import { CommandManager, CommandState } from "./commandManager.js";
import log from "../utils/log.js";
import { gitBashPath } from "../utils/shell.js";
Expand Down
Loading