Fix panic for ReadPassword (#133)

This commit is contained in:
Abiola Ibrahim 2017-11-03 14:19:23 +01:00 committed by chzyer
parent 6a4bc7b4fe
commit a4d5111b61
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func (o *opPassword) PasswordConfig() *Config {
InterruptPrompt: "\n",
EOFPrompt: "\n",
HistoryLimit: -1,
Painter: &defaultPainter{},
Stdout: o.o.cfg.Stdout,
Stderr: o.o.cfg.Stderr,