DCS @ kitty-print should be output to STDERR
This commit is contained in:
parent
0b2837fcfa
commit
b4b0bdc853
@ -86,7 +86,7 @@ _ksi_main() {
|
|||||||
builtin unset KITTY_SHELL_INTEGRATION
|
builtin unset KITTY_SHELL_INTEGRATION
|
||||||
|
|
||||||
_ksi_debug_print() {
|
_ksi_debug_print() {
|
||||||
# print a line to STDOUT of parent kitty process
|
# print a line to STDERR of parent kitty process
|
||||||
builtin local b
|
builtin local b
|
||||||
b=$(builtin command base64 <<< "${@}")
|
b=$(builtin command base64 <<< "${@}")
|
||||||
builtin printf "\eP@kitty-print|%s\e\\" "${b//[[:space:]]}}"
|
builtin printf "\eP@kitty-print|%s\e\\" "${b//[[:space:]]}}"
|
||||||
|
|||||||
@ -61,7 +61,7 @@ typeset -gi _ksi_fd
|
|||||||
}
|
}
|
||||||
} 2>/dev/null || (( _ksi_fd = 1 ))
|
} 2>/dev/null || (( _ksi_fd = 1 ))
|
||||||
|
|
||||||
# Asks kitty to print $@ to its STDOUT. This is for debugging.
|
# Asks kitty to print $@ to its STDERR. This is for debugging.
|
||||||
_ksi_debug_print() {
|
_ksi_debug_print() {
|
||||||
builtin local data
|
builtin local data
|
||||||
data=$(builtin command base64 <<<"${(j: :)@}") || builtin return
|
data=$(builtin command base64 <<<"${(j: :)@}") || builtin return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user