From 7ecbc5c3bd68e25fc71bb1898310d98b1c59ea6d Mon Sep 17 00:00:00 2001 From: purringChaos Date: Fri, 17 Jul 2020 21:07:42 +0100 Subject: [PATCH] Update colour.zig --- src/formatting/colour.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formatting/colour.zig b/src/formatting/colour.zig index f21f000..51a3842 100644 --- a/src/formatting/colour.zig +++ b/src/formatting/colour.zig @@ -34,7 +34,7 @@ pub fn comptimeColour(comptime clr: []const u8, comptime str: []const u8) []cons if (clr[0] == '#' or clr[0] == '\u{001b}') { if (terminal_version) { - return crl ++ str ++ TerminalResetColour; + return clr ++ str ++ TerminalResetColour; } else { return "" ++ str ++ ""; }