peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.05k stars 132 forks source link

completion not cyclic #10

Closed rif closed 10 years ago

rif commented 10 years ago

Why is completion not starting from the begining after last element in the list. I know there is shift tab but this is not how redis-cli or shell works.

peterh commented 10 years ago

Upon experimentation, I see that cmd.exe and zsh loop around as you describe. Patch welcome.