Skip to main content

Crate prek_pty

Crate prek_pty 

Source
Expand description

PTY output capture for prek, adapted from pty-process.

See the crate README for the upstream revision and local changes.

Structs§

Pts
The child end of a PTY, intended for stdout and stderr only.
Pty
The parent end of a PTY, used to capture the child’s output.

Functions§

open
Allocate a nonblocking PTY reader and the child end of the terminal.