Closed 1e1 closed 8 years ago
Yup, you cannot.
You can use the aggregate autocompleter, namely Hoa\Console\Readline\Autocompleter\Aggregate
. It wraps the collection of autocompleters inside an ArrayObject
. With the getAutocompleters
method, you can set add or remove autocompleters on-the-fly.
We can't unset an autocompleter.
If I do
$rl->setAutocompleter(null);
, I obtain:Can you add the
unsetAutocompleter()
method?