Fix MCP terminal capture scrollback

This commit is contained in:
Mohamed Boudra
2026-05-07 11:59:13 +07:00
parent 55ec13f153
commit 16944da45b
5 changed files with 70 additions and 17 deletions
@@ -1,10 +1,5 @@
import {
captureTerminalLines,
createTerminal,
type CaptureTerminalLinesResult,
type TerminalSession,
type TerminalStateSnapshot,
} from "./terminal.js";
import { createTerminal, type TerminalSession, type TerminalStateSnapshot } from "./terminal.js";
import { captureTerminalLines, type CaptureTerminalLinesResult } from "./terminal-capture.js";
import { resolve, sep, win32, posix } from "node:path";
export interface TerminalListItem {