{"modulePath":"github.com/foxcpp/maddy","version":"v0.9.8","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package clitools\n\n## Functions\n\n```go\nfunc Confirmation(prompt string, def bool) bool\n```\n\n```go\nfunc ReadPassword(prompt string) (string, error)\n```\n\n```go\nfunc TcSetAttr(fd uintptr, termios *Termios) error\n```\n\n## Types\n\n```go\ntype Termios struct {\n\tIflag  uint32\n\tOflag  uint32\n\tCflag  uint32\n\tLflag  uint32\n\tCc     [20]byte\n\tIspeed uint32\n\tOspeed uint32\n}\n```\n\n```go\nfunc TcGetAttr(fd uintptr) (*Termios, error)\n```\n\n```go\nfunc TurnOnRawIO(tty *os.File) (orig Termios, err error)\n```\nTurnOnRawIO sets flags suitable for raw I/O (no echo, per-character input, etc) and returns original flags.\n\n","path":"github.com/foxcpp/maddy/internal/cli/clitools","name":"clitools","synopsis":"","isRedistributable":true}
