func MakeRaw(fd int) (*State, error) {
	return term.MakeRaw(fd)
}
MakeRaw puts the terminal connected to the given file descriptor into raw
mode and returns the previous state of the terminal so that it can be
restored.
package terminal
import (
	"io"
	"golang.org/x/term"
)
type EscapeCodes = term.EscapeCodes
type Terminal = term.Terminal
func NewTerminal(c io.ReadWriter, prompt string) *Terminal {
	return term.NewTerminal(c, prompt)
}
var ErrPasteIndicator = term.ErrPasteIndicator
type State = term.State
func IsTerminal(fd int) bool {
	return term.IsTerminal(fd)
}
func ReadPassword(fd int) ([]byte, error) {
	return term.ReadPassword(fd)
}