summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2023-02-15 22:29:32 +0100
committerChristian Schneider2023-02-15 22:29:32 +0100
commit5d5137be29cba9352226ab0781e72b5c20de89b9 (patch)
treec65655ad8360057a7437eb902b7e245e11f70441
parent633d3a28a45b7be184c0a55297cc4e53e792ee72 (diff)
downloaditools-5d5137be29cba9352226ab0781e72b5c20de89b9.tar.gz
itools-5d5137be29cba9352226ab0781e72b5c20de89b9.tar.bz2
itools-5d5137be29cba9352226ab0781e72b5c20de89b9.zip
Do not prepend unicode block characters at beginning of lines for edplain
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index f148b58..91342bd 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -211,7 +211,7 @@ static function dump($args, $p = [])
if ($p['html'])
return "<pre title='$title' style='color:#c00; text-align:left; background:white; border-bottom:1px solid #ddd; z-index:9999; position:relative; line-height:1'>$r</pre>\n";
else
- return $ansiok || $p['short'] ? "$r\n" : "\u{2588}\u{258c}" . preg_replace("#\n#", "\n\u{2588} ", "$r") . "\n";
+ return $ansiok || $p['short'] || EDC('edplain') ? "$r\n" : "\u{2588}\u{258c}" . preg_replace("#\n#", "\n\u{2588} ", "$r") . "\n";
}
/**