Workaround for base64 on linux inserting line breaks by default
This commit is contained in:
parent
934318adb1
commit
d1015de700
@ -13,7 +13,7 @@ args=($@)
|
|||||||
|
|
||||||
function debug() {
|
function debug() {
|
||||||
# print a line to STDOUT of parent kitty process
|
# print a line to STDOUT of parent kitty process
|
||||||
local b=$(printf "%s\n" "$1" | base64)
|
local b=$(printf "%s\n" "$1" | base64 | tr -d \\n)
|
||||||
printf "\eP@kitty-print|%s\e\\" "$b"
|
printf "\eP@kitty-print|%s\e\\" "$b"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user