rebel-readline
rebel-readline copied to clipboard
look at bringing back history based expansions
Jline includes a history based expansion short cut. I cut it out of the completion process.
Should experiment with adding it back in.
Is this what causes the following behavior?
I press ctrl+r
for incremental reverse history search and get a prompt:
user=>
bck-i-search: _
As soon as I type anything, the prompt disappears and I'm back in the REPL. If I type my query first, and then press ctrl+r
, I can search successfully with repeated ctrl+r
s. I can also delete things from the query with backspace but as soon as I type something I'm thrown out of the prompt and into the REPL.
I would expect the prompt to stay when I type so that I can refine my query without having to go back to the REPL, delete, and then press ctrl+r
again.
This is jlines behavior and the behavior of many shells,
The line has to have content first.
at least a single character
history based expansions is a different thing