fzf-git.sh icon indicating copy to clipboard operation
fzf-git.sh copied to clipboard

Space is inserted on abort

Open Vampire opened this issue 3 months ago • 1 comments

If I abort any of the functions pressing ESC, there is still a space inserted that was not there before. If I do the same with Ctrl+T, no excess space is added. In many situations the space is irrelevant and ignored, but there are also situations where this is annoying. For example if you just use these very nice bindings to look at something and abort, then you execute some totally different command. The command will now start with space and thus bypass the Bash history.

Vampire avatar Oct 15 '25 11:10 Vampire

reproducible on bash only, started with 23a74efafac7

LangLangBart avatar Oct 17 '25 05:10 LangLangBart