aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-04-29 14:55:23 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-04-29 14:55:23 -0700
commitba5a55b754d24270222380c1f5f722dc8b4dc4c5 (patch)
tree83320c4c7ea05772c1e9a2e8023f72ceba32c675 /share
parentbd2b107d374c095d8d5ced7a7b5ed78b1381e062 (diff)
Remove an errant newline in the fish_cancel_commandline output
Now the next line appears immediately after the cancelled line, without an intervening newline
Diffstat (limited to 'share')
-rw-r--r--share/functions/__fish_cancel_commandline.fish2
1 files changed, 1 insertions, 1 deletions
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