Function: resolveDefaultPtyBackend()
@termwright/driver/experimental
@termwright/driver/experimental / resolveDefaultPtyBackend
Function: resolveDefaultPtyBackend()
Section titled “Function: 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.
Parameters
Section titled “Parameters”platform?
Section titled “platform?”Platform = process.platform
Returns
Section titled “Returns”Promise<PtyBackendChoice>