mirror of
https://github.com/danbulant/nushell
synced 2026-05-21 21:39:15 +00:00
* Use the cursor position for the span when between locations.
This fixes a bug where completing
ls <TAB>
would result in replacing the entire line.
* Revert to the default update implementation.
Replacing the length of the elected value was intended to do replacement when
one moves inside a quote. The problem is that a long elected suggestion could
replace bits of a pipeline that are after the cursor. For example:
ls <TAB> | get name | str collect
|
||
|---|---|---|
| .. | ||
| completer.rs | ||
| filesystem_shell.rs | ||
| help_shell.rs | ||
| helper.rs | ||
| palette.rs | ||
| shell.rs | ||
| shell_manager.rs | ||
| value_shell.rs | ||