debug function

This commit is contained in:
Kovid Goyal 2022-02-24 00:19:12 +05:30
parent d452a5cdce
commit c24e16e8cd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -13,6 +13,7 @@ cleanup_on_bootstrap_exit() {
}
trap 'cleanup_on_bootstrap_exit' EXIT
die() { echo "$*" >/dev/stderr; cleanup_on_bootstrap_exit; exit 1; }
debug() { printf "\033P@kitty-print|%s\033\\" "$(echo -n "debug: $1" | base64)"; }
data_started="n"
data_complete="n"