rustyline
rustyline copied to clipboard
Add Option for Prefix-Based Reverse Search
Allow history search via Arrow-Up/Down or C-p/n to go either line-by-line or based on the prefix before the cursor position
Fix #423
I rebased this PR to the newest master. Is there anything that's missing for a review?
I squashed my commits to make rebasing easier and rebased onto the current master.
The issue behind this PR in nushell comes up every now and again to allow nushell to have zsh-similar search behaviour taking into account the typed prefix. Is there anything I can do to help get this PR merged?
@gwenn Is this PR something that could be of interest to rustyline?
@gwenn We would really like to have this on nushell. Can you please look at this PR?
https://github.com/kkawakam/rustyline/pull/545/commits/eb68960f866f229c64f05aea5ca6570765a5daf9 preserves cursor position.