Skip to content

Commit

Permalink
Fix panic for ReadPassword (chzyer#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
abiosoft authored and chzyer committed Nov 3, 2017
1 parent 6a4bc7b commit a4d5111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions password.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a4d5111

Please sign in to comment.