rustyline icon indicating copy to clipboard operation
rustyline copied to clipboard

Feature Request: Use tabs for switching between auto completion values

Open oddcoder opened this issue 5 years ago • 5 comments

I would love to see tab to switch between autocompleting options. something similar to what ZSH does like in this ascinema

asciicast

I am not quite sure if this feature exists, but hidden somewhere, or it is not here yet.

oddcoder avatar Nov 13 '19 11:11 oddcoder

It is very similar it does the circulation but it doesn't print the elements that it circulates around.

oddcoder avatar Nov 14 '19 18:11 oddcoder

This is similar to completion in zsh, or it might be a plugin brought in by Oh-My-Zsh? Would be an awesome feature

jackgerrits avatar Feb 21 '20 16:02 jackgerrits

I think it is plugin bought by ohmyzsh Still it is not possible to do that in rustyline is it?

oddcoder avatar May 15 '20 21:05 oddcoder

Maybe we should enhance the Completer trait and let implementations do their own complete_line logic. But currently, the Renderer is very limited.

gwenn avatar May 16 '20 07:05 gwenn