mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-21 23:03:27 +00:00
Revert "Get _ksi_debug_print working again"
This reverts commit ff63e58f95.
This commit is contained in:
parent
bfbe60c90e
commit
a6b74f190f
1 changed files with 3 additions and 6 deletions
|
|
@ -32,13 +32,10 @@ builtin emulate -L zsh -o no_warn_create_global
|
|||
# 2: none of the above.
|
||||
builtin typeset -gi _ksi_state
|
||||
|
||||
# Asks kitty to print $@ to its STDOUT. This is for debugging.
|
||||
# Asks kitty to print $@ to its stdout. This is for debugging.
|
||||
_ksi_debug_print() {
|
||||
builtin local data saved
|
||||
saved="$IFS"
|
||||
IFS=" "
|
||||
data=$(command base64 <<< "$*")
|
||||
IFS="$saved"
|
||||
builtin local data
|
||||
data=$(command base64 <<<"${(j: :}@}") || builtin return
|
||||
builtin printf '\eP@kitty-print|%s\e\\' "${data//$'\n'}"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue