import "github.com/kr/pty"
Package pty is a wrapper for github.com/creack/pty, which provides functions for working with Unix terminals.
This package is deprecated. Existing clients will continue to work, but no further updates will happen here. New clients should use github.com/creack/pty directly.
var ErrUnsupported = pty.ErrUnsupported
ErrUnsupported is returned if a function is not available on the current platform.
Deprecated; please use github.com/creack/pty instead.
Getsize returns the number of rows (lines) and cols (positions in each line) in terminal t.
Deprecated; please use github.com/creack/pty instead.
InheritSize applies the terminal size of pty to tty. This should be run in a signal handler for syscall.SIGWINCH to automatically resize the tty when the pty receives a window size change notification.
Deprecated; please use github.com/creack/pty instead.
Opens a pty and its corresponding tty.
Deprecated; please use github.com/creack/pty instead.
Setsize resizes t to s.
Deprecated; please use github.com/creack/pty instead.
Start assigns a pseudo-terminal tty os.File to c.Stdin, c.Stdout, and c.Stderr, calls c.Start, and returns the File of the tty's corresponding pty.
Deprecated; please use github.com/creack/pty instead.
StartWithSize assigns a pseudo-terminal tty os.File to c.Stdin, c.Stdout, and c.Stderr, calls c.Start, and returns the File of the tty's corresponding pty.
This will resize the pty to the specified size before starting the command.
Deprecated; please use github.com/creack/pty instead.
Winsize describes the terminal size.
Deprecated; please use github.com/creack/pty instead.
GetsizeFull returns the full terminal size description.
Deprecated; please use github.com/creack/pty instead.
Package pty imports 3 packages (graph) and is imported by 1319 packages. Updated 2019-08-26. Refresh now. Tools for package owners. This is a quick bug-fix fork (has fewer than three commits, and only during the week it was created).