diff options
author | Christian Schneider | 2023-02-15 14:37:23 +0100 |
---|---|---|
committer | Christian Schneider | 2023-02-15 14:37:23 +0100 |
commit | 633d3a28a45b7be184c0a55297cc4e53e792ee72 (patch) | |
tree | 9e5ff74c88ec1c5b1e20b953087b3632249c4e86 | |
parent | c15491a1269a754543054b0838dbf6c10ac0b8a3 (diff) | |
download | itools-633d3a28a45b7be184c0a55297cc4e53e792ee72.tar.gz itools-633d3a28a45b7be184c0a55297cc4e53e792ee72.tar.bz2 itools-633d3a28a45b7be184c0a55297cc4e53e792ee72.zip |
Use unicode codepoint instead of hex encoding for readability/searchability
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index 766a82f..f148b58 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" : "\xe2\x96\x88\xe2\x96\x8c" . preg_replace("#\n#", "\n\xe2\x96\x88 ", "$r") . "\n"; + return $ansiok || $p['short'] ? "$r\n" : "\u{2588}\u{258c}" . preg_replace("#\n#", "\n\u{2588} ", "$r") . "\n"; } /** |