fix miaou_debug tty

This commit is contained in:
pvincent
2026-08-21 19:03:09 +04:00
parent ce8f37b63b
commit 31678ad6c7
2 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ function miaou_debug {
compute_hierarchy=false
for ((i = 0; i < miaou_debug_hierarchy; i++)); do padding+=' '; done
>&4 builtin echo -e "\e[90m <== DEBUG ==> ${padding}\e[33m${message}\e[0m"
>/dev/tty builtin echo -e "\e[90m <== DEBUG ==> ${padding}\e[33m${message}\e[0m"
regex='[^/]>$' # does NOT end with />
is_true $compute_hierarchy &&