From 0b2837fcfa8dd01c3779666a50c66865279feb88 Mon Sep 17 00:00:00 2001 From: pagedown Date: Mon, 7 Mar 2022 20:43:14 +0800 Subject: [PATCH] Fix bash integration debug log printing --- shell-integration/bash/kitty.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index b50e48c25..0e006c066 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -89,7 +89,7 @@ _ksi_main() { # print a line to STDOUT of parent kitty process builtin local b b=$(builtin command base64 <<< "${@}") - builtin printf "\eP@kitty-print|%s\e\\" "${b//\\n}" + builtin printf "\eP@kitty-print|%s\e\\" "${b//[[:space:]]}}" } _ksi_set_mark() {