mirror of https://github.com/chzyer/readline.git
fixes crash in nil completer #8
This commit is contained in:
parent
e89699832b
commit
4dc2ce7141
|
@ -112,7 +112,8 @@ func (o *Operation) ioloop() {
|
|||
o.buf.Refresh(nil)
|
||||
}
|
||||
case CharTab:
|
||||
if o.opCompleter == nil {
|
||||
if o.cfg.AutoComplete == nil {
|
||||
o.t.Bell()
|
||||
break
|
||||
}
|
||||
o.OnComplete()
|
||||
|
|
Loading…
Reference in New Issue