From 768277a312e1f91248d00d80af814d2c6721dc85 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 13 May 2016 12:10:17 -0700 Subject: [PATCH] Remove the errant newline in __fish_cancel_commandline again (cherry picked from commit 149e601743f2ad85df8a3bd0cc857bfd0387ef67) --- share/functions/__fish_cancel_commandline.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_cancel_commandline.fish b/share/functions/__fish_cancel_commandline.fish index fb378f250..e48d32ad8 100644 --- a/share/functions/__fish_cancel_commandline.fish +++ b/share/functions/__fish_cancel_commandline.fish @@ -9,7 +9,7 @@ function __fish_cancel_commandline # # Set reverse fg/bg color mode, output ^C, restore normal mode, clear to EOL (to erase any # autosuggestion). - echo (tput smso)"^C"(tput rmso)(tput el) + echo -n (tput smso)"^C"(tput rmso)(tput el) for i in (seq (commandline -L)) echo "" end