Versions in this module Expand all Collapse all v1 v1.0.1 Dec 12, 2024 Changes in this version + var ErrPasteIndicator = term.ErrPasteIndicator + func GetSize(fd int) (width, height int, err error) + func IsTerminal(fd int) bool + func ReadPassword(fd int) ([]byte, error) + func Restore(fd int, oldState *State) error + type EscapeCodes = term.EscapeCodes + type State = term.State + func GetState(fd int) (*State, error) + func MakeRaw(fd int) (*State, error) + type Terminal = term.Terminal + func NewTerminal(c io.ReadWriter, prompt string) *Terminal