Skip to content

readline: allow completer to rewrite existing input

Sometimes, it makes sense for a completer to change the existing input, e.g. by adjusting the casing (imagine a completer that corrects Number.isNan to Number.IsNaN, for example).

This commit allows that in the readline implemention.

Merge request reports

Loading