diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 01:28:02 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 01:28:02 -0500 |
| commit | 006f95b202403d57d2cafb7a59846148ddaa9012 (patch) | |
| tree | 8fee241cb8eb4a2f0fd7bd00658549d9b878cdec /builtins | |
| parent | eabff011ea552a4fecc13de129e0a205b77bc289 (diff) | |
Fix pointer coloring
Diffstat (limited to 'builtins')
| -rw-r--r-- | builtins/pointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/pointer.c b/builtins/pointer.c index 2e31479a..d46ced00 100644 --- a/builtins/pointer.c +++ b/builtins/pointer.c @@ -47,7 +47,7 @@ public CORD Pointer__cord(const void *x, bool colorize, const TypeInfo *type) { pointed = generic_as_str(ptr, colorize, ptr_info.pointed); recursion = recursion->next; } - return colorize ? CORD_asprintf("\x1b[34;1m%s%r\x1b[m", ptr_info.sigil, pointed) : CORD_cat(ptr_info.sigil, pointed); + return colorize ? CORD_asprintf("\x1b[34;1m%s\x1b[m%r", ptr_info.sigil, pointed) : CORD_cat(ptr_info.sigil, pointed); } public int32_t Pointer__compare(const void *x, const void *y, const TypeInfo *type) { |
