Function: createNativePtyBackend()
@termwright/driver/experimental
@termwright/driver/experimental / createNativePtyBackend
Function: createNativePtyBackend()
Section titled “Function: 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.
Parameters
Section titled “Parameters”spawn?
Section titled “spawn?”NativePtySpawn = spawnNativePty
platform?
Section titled “platform?”Platform = process.platform