Skip to content

Function: createNativePtyBackend()

@termwright/driver/experimental


@termwright/driver/experimental / createNativePtyBackend

createNativePtyBackend(spawn?, platform?): PtyBackend

Defined in: native-pty-backend.ts:59

Adapts the native package without adding lifecycle policy or weaker fallbacks. The package owns EOF, process groups/jobs and ordered writes; this layer only preserves early events until TerminalSession has attached its journal.

NativePtySpawn = spawnNativePty

Platform = process.platform

PtyBackend