@aitty/bun-terminal
v0.6.6
Published
Bun native terminal adapter for aitty adaptive terminals.
Maintainers
Readme
@aitty/bun-terminal
Bun native terminal adapter for @aitty/adaptive-terminal.
import { createBunAdaptiveTerminal } from "@aitty/bun-terminal";
const terminal = await createBunAdaptiveTerminal({
command: "bash",
cwd: process.cwd()
});
const mobile = terminal.attachViewport({ id: "mobile", cols: 39, rows: 24 });
const desktop = terminal.attachViewport({ id: "desktop", cols: 144, rows: 36 });Use this package when you want Bun's native Bun.spawn(..., { terminal })
PTY support. It does not depend on node-pty.
