From d81bd4cf881766c255e4e3966c563d7bc93e1378 Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Sun, 3 May 2026 05:59:10 +0200 Subject: [PATCH] Fix node-pty switch --- src/main/pty.ts | 2 +- vite.config.mts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/pty.ts b/src/main/pty.ts index b761a8d..dfd1f96 100644 --- a/src/main/pty.ts +++ b/src/main/pty.ts @@ -1,4 +1,4 @@ -import * as pty from "node-pty"; +import * as pty from "@lydell/node-pty"; import { getCurrentWorkspaceRoot } from "./fileOperations"; export interface TerminalInstance { diff --git a/vite.config.mts b/vite.config.mts index a162315..c0cadc5 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -5,11 +5,11 @@ import tailwindcss from "@tailwindcss/vite"; export default defineConfig({ plugins: [tailwindcss()], optimizeDeps: { - exclude: ["node-pty"], + exclude: ["@lydell/node-pty"], }, build: { rollupOptions: { - external: ["node-pty"], + external: ["@lydell/node-pty"], }, }, });