From ba5a55b754d24270222380c1f5f722dc8b4dc4c5 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 29 Apr 2016 14:55:23 -0700 Subject: Remove an errant newline in the fish_cancel_commandline output Now the next line appears immediately after the cancelled line, without an intervening newline --- share/functions/__fish_cancel_commandline.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/functions/__fish_cancel_commandline.fish b/share/functions/__fish_cancel_commandline.fish index f10be75f..5117e738 100644 --- a/share/functions/__fish_cancel_commandline.fish +++ b/share/functions/__fish_cancel_commandline.fish @@ -3,7 +3,7 @@ function __fish_cancel_commandline set -l cmd (commandline) if test -n "$cmd" commandline -C 1000000 - echo (set_color -b bryellow black)"^C"(set_color normal) + echo -n (set_color -b bryellow black)"^C"(set_color normal) for i in (seq (commandline -L)) echo "" end -- cgit v1.2.3