sandbox.pty.
sandbox.pty.create(opts?)
Create an interactive terminal session. HTTP API →
Terminal columns
Terminal rows
Output callback
Promise<PtySession>
PtySession
| Member | Type | Description |
|---|---|---|
sessionId | string | Session ID |
send(data) | method | Send input (string or Uint8Array) |
close() | method | Close the PTY |