Versions in this module Expand all Collapse all v0 v0.6.0 Jan 14, 2018 Changes in this version type IO + SetOutput func(func(string) string) type Rline + Inst *readline.Instance + func (l *Rline) SetOutput(f func(string) string) v0.6.0-rc4 Dec 18, 2017 v0.6.0-rc3 Nov 24, 2017 v0.6.0-rc2 Nov 9, 2017 v0.6.0-rc1 Oct 25, 2017 v0.5.0 Apr 2, 2017 Changes in this version + var ErrPasswordNotAvailable = errors.New("password not available") v0.4.0 Mar 29, 2017 Changes in this version + var ErrInterrupt = readline.ErrInterrupt + var ErrNotInteractive = errors.New("not interactive") + type IO interface + Close func() error + Cygwin func() bool + ForceIntCyg func(bool, bool) + Interactive func() bool + Next func() ([]rune, error) + Password func() (string, error) + Prompt func(string) + Save func(string) error + Stderr func() io.Writer + Stdout func() io.Writer + func New(cmds []string, in, out string, histfile string) (IO, error) + type Rline struct + C func() error + Cyg bool + Err io.Writer + Int bool + N func() ([]rune, error) + Out io.Writer + P func(string) + Pw func() (string, error) + S func(string) error + func (l *Rline) Close() error + func (l *Rline) Cygwin() bool + func (l *Rline) ForceIntCyg(interactive, cygwin bool) + func (l *Rline) Interactive() bool + func (l *Rline) Next() ([]rune, error) + func (l *Rline) Password() (string, error) + func (l *Rline) Prompt(s string) + func (l *Rline) Save(s string) error + func (l *Rline) Stderr() io.Writer + func (l *Rline) Stdout() io.Writer