mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
Workaround for base64 on linux inserting line breaks by default
This commit is contained in:
@@ -13,7 +13,7 @@ args=($@)
|
||||
|
||||
function debug() {
|
||||
# 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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user