rebel-readline icon indicating copy to clipboard operation
rebel-readline copied to clipboard

look at bringing back history based expansions

Open bhauman opened this issue 7 years ago • 3 comments

Jline includes a history based expansion short cut. I cut it out of the completion process.

Should experiment with adding it back in.

bhauman avatar Feb 05 '18 22:02 bhauman

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+rs. 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.

schmee avatar Mar 01 '18 19:03 schmee

This is jlines behavior and the behavior of many shells,

The line has to have content first.

at least a single character

bhauman avatar Mar 01 '18 20:03 bhauman

history based expansions is a different thing

bhauman avatar Mar 01 '18 20:03 bhauman