Fix comment (lint)

This commit is contained in:
VonC 2019-08-27 08:00:09 +02:00
parent 49fa645ffe
commit afba691149

View File

@ -206,7 +206,7 @@ func OptionSwitchKeyBindMode(m KeyBindMode) Option {
} }
} }
// OptionSwitchKeyBindMode set a key bind mode. // OptionCompletionOnDown allows for Down arrow key to trigger completion.
func OptionCompletionOnDown() Option { func OptionCompletionOnDown() Option {
return func(p *Prompt) error { return func(p *Prompt) error {
p.completionOnDown = true p.completionOnDown = true