Skip to content

Commit a4d5111

Browse files
abiosoftchzyer
authored andcommitted
Fix panic for ReadPassword (chzyer#133)
1 parent 6a4bc7b commit a4d5111

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

password.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func (o *opPassword) PasswordConfig() *Config {
2525
InterruptPrompt: "\n",
2626
EOFPrompt: "\n",
2727
HistoryLimit: -1,
28+
Painter: &defaultPainter{},
2829

2930
Stdout: o.o.cfg.Stdout,
3031
Stderr: o.o.cfg.Stderr,

0 commit comments

Comments
 (0)