package
0.0.0-20231018203739-560f09a8410d
Repository: https://github.com/gage-technologies/gigo-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New constructs a new Pty.
Start the command in a TTY.
WithGPGTTY sets the GPG_TTY environment variable to the PTY name.
WithLogger sets a logger for logging errors.
WithPTYOption applies the given options to the underlying PTY.
WithSSHRequest applies the ssh.Pty request to the PTY.

# Structs

ReadWriter is an implementation of io.ReadWriter that wraps two separate underlying file descriptors, one for reading and one for writing, and allows them to be accessed separately.

# Interfaces

Process represents a process running in a PTY.
PTY is a minimal interface for interacting with a TTY.
WithFlags represents a PTY whose flags can be inspected, in particular to determine whether local echo is enabled.

# Type aliases

Options represents a an option for a PTY.
StartOption represents a configuration option passed to Start.