aboutsummaryrefslogtreecommitdiff
path: root/stdlib/bytes.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/bytes.c')
-rw-r--r--stdlib/bytes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/bytes.c b/stdlib/bytes.c
index 8d665790..f36a56ba 100644
--- a/stdlib/bytes.c
+++ b/stdlib/bytes.c
@@ -14,7 +14,7 @@ PUREFUNC public Text_t Byte$as_text(const Byte_t *b, bool colorize, const TypeIn
{
(void)type;
if (!b) return Text("Byte");
- return Text$format(colorize ? "\x1b[35m%u[B]\x1b[m" : "%u[B]", *b);
+ return Text$format(colorize ? "\x1b[36mByte\x1b[m(\x1b[35m0x%02X\x1b[m)" : "Byte(0x%02X)", *b);
}
public const TypeInfo_t Byte$info = {