mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 14:21:45 +02: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