rustyline
rustyline copied to clipboard
More flexible way to trigger completion
I haven't been able to find a more flexible way to trigger the completer. I currently complete eg. sqrt
to √
, but would like it to happen automatically as you finish typing sqrt
. You can set keymaps, but I need to attempt a completion every time a letter is written. This does not seem to be possible?
Nop and currently input Validator
does not support validate_while_typing
and can't fix input:
For auto-correction like a missing closing quote or to reject invalid char while typing, the input will be mutable (TODO).
Ah yeah, I see.