Open Abdillah opened 1 year ago
Yeah I don't remember the exact order of possible operations and had to look into reedline's source here https://github.com/nushell/reedline/blob/4f31e200e46b621e96b313ad334d50375fcf624d/src/engine.rs#L855-L886 We only shortcut for directly inserting a single match with the quick_completion
mode
Moving over to reedline
as we need to make the improvements there
Hello @sholderbach, I found myself understand the snippet you gave and enough confidence to file a pull request. In my test with my config, the navigation become so much easier.
Describe the bug
I tried to stack completion_menu and historynextcomplete in until keybinding.
Unfortunately,
send: menu
action doesn't know when the activated menu has no entry. Instead of return as failed, it shows it anyway. In turn, thehistorynextcomplete
doesn't get called that often.How to reproduce
cd ~
Expected behavior
The shell instead choose to complete the hint.
Screenshots
Configuration
Additional context
No response