mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 18:32:01 +08:00

__fish_cancel_commandline was unused (even before) and has some issues
on multiline commandlines. Make it use the previously active logic.
Closes #10935
Cherry-picked from 5de6f4bb3d
5 lines
142 B
Fish
5 lines
142 B
Fish
# This is meant to be bound to something like ctrl-c
|
|
function __fish_cancel_commandline
|
|
commandline -f cancel-commandline-traditional
|
|
end
|