tty 0.4.3

Create and use pseudoterminal
docs.rs failed to build tty-0.4.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: tty-0.5.0

tty-rs

tty is a thread-safe library to create and use a new pseudoterminal (PTY):

  • TtyServer: create a PTY dedicated to a new command
  • TtyClient: forward I/O from an existing TTY (user terminal)

The I/O forward uses splice(2), which is Linux specific, enabling zero-copy transfers.

You need to use a nightly Rust channel >= 1.4.0-dev to build this crate (because of unstable API use).

This library is a work in progress. The API may change.

This library does not yet support signal handling (e.g. terminal resize, Ctrl-C).