mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03:00
Stop repainting after paste
"repaint" here is a bit of a misnomer. It *doesn't* re-highlight, that just happens on its own. It re-runs the prompt, which can take quite a while (depending on the configuration), and which is also useless in this context as this isn't something the prompt will be reacting to (theoretically it could, but I doubt the utility of displaying "PASTE" for a few milliseconds).
This commit is contained in:
@@ -190,5 +190,4 @@ function __fish_stop_bracketed_paste
|
||||
# Restore the last bind mode.
|
||||
set fish_bind_mode $__fish_last_bind_mode
|
||||
set -e __fish_paste_quoted
|
||||
commandline -f force-repaint
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user