Skip to main content

Module terminal

Module terminal 

Source
Expand description

Terminal, PTY, console, input, and terminal-I/O primitives.

Modules§

input

Structs§

PtyChildControlToken
Opaque host control data for a spawned PTY child.
PtyInputChunk
One chunk read from the host terminal input source.
PtyMasterControlToken
Opaque host control data for a PTY master.
PtySize
Caller-facing PTY dimensions.
TerminalGraphicsProbe
Raw replies returned by a bounded active terminal-graphics probe.

Traits§

PtyBackend
Factory trait implemented by the selected host PTY backend.
PtyChild
Platform-neutral handle for a child process running inside a PTY.
PtyMaster
Platform-neutral handle for the master side of a pseudo-terminal.
PtySlave
Platform-neutral handle for the slave side of a pseudo-terminal.

Functions§

active_graphics_probe
Probe the controlling terminal without exposing terminal descriptors.

Type Aliases§

SharedPtyWriter
Independently lockable writer used by the PTY session policy layer.