Skip to main content

Module pty

Module pty 

Source
Expand description

PTY (Pseudo-Terminal) abstraction layer.

This module provides a platform-independent interface for working with pseudo-terminals. It supports both Unix PTY and Windows ConPTY.

Structs§

AsyncPtyReader
Async reader for PTY output.
AsyncPtyWriter
Async writer for PTY input.
NativePty
Wrapper around the native PTY system.
PtyHandle
A handle to a spawned PTY process.
PtySize
Size of a PTY in characters.
SpawnedShell
A spawned shell process with PTY.

Functions§

default_shell
Get the default shell for the current platform.