editline icon indicating copy to clipboard operation
editline copied to clipboard

`Ctrl-U` should delete the line from the cursor position, not the entire line

Open 9999years opened this issue 1 year ago • 0 comments

In Fish and Bash, when I press Ctrl-U, it deletes the input line from the cursor position, not the entire line. If | is my cursor:

> a b c|
> a b| c
Press Ctrl-U
> | c

But editline deletes the entire line:

> a b c|
> a b| c
Press Ctrl-U
> |

9999years avatar Sep 08 '24 23:09 9999years