mirror of https://github.com/chzyer/readline.git
Fix panic for ReadPassword (#133)
This commit is contained in:
parent
6a4bc7b4fe
commit
a4d5111b61
|
@ -25,6 +25,7 @@ func (o *opPassword) PasswordConfig() *Config {
|
||||||
InterruptPrompt: "\n",
|
InterruptPrompt: "\n",
|
||||||
EOFPrompt: "\n",
|
EOFPrompt: "\n",
|
||||||
HistoryLimit: -1,
|
HistoryLimit: -1,
|
||||||
|
Painter: &defaultPainter{},
|
||||||
|
|
||||||
Stdout: o.o.cfg.Stdout,
|
Stdout: o.o.cfg.Stdout,
|
||||||
Stderr: o.o.cfg.Stderr,
|
Stderr: o.o.cfg.Stderr,
|
||||||
|
|
Loading…
Reference in New Issue