forked from mirror/readline
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)
|
o.buf.Refresh(nil)
|
||||||
}
|
}
|
||||||
case CharTab:
|
case CharTab:
|
||||||
if o.opCompleter == nil {
|
if o.cfg.AutoComplete == nil {
|
||||||
|
o.t.Bell()
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
o.OnComplete()
|
o.OnComplete()
|
||||||
|
|
Loading…
Reference in New Issue