Skip to content

Function: resolveDefaultPtyBackend()

@termwright/driver/experimental


@termwright/driver/experimental / resolveDefaultPtyBackend

resolveDefaultPtyBackend(platform?): Promise<PtyBackendChoice>

Defined in: backend-selection.ts:81

The backend a session uses when its caller did not supply one.

Resolved once per process: the answer depends on the machine, not on the session, and probing a native module for every terminal would be a cost paid repeatedly for a constant.

Platform = process.platform

Promise<PtyBackendChoice>