fix(renderer): reset color after each cell write
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 38s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 38s
This commit is contained in:
@@ -66,6 +66,7 @@ pub fn value(this: Style, writer: anytype, cp: u21) !void {
|
|||||||
try std.fmt.format(writer, "m", .{});
|
try std.fmt.format(writer, "m", .{});
|
||||||
// content
|
// content
|
||||||
try std.fmt.format(writer, "{s}", .{buffer});
|
try std.fmt.format(writer, "{s}", .{buffer});
|
||||||
|
try std.fmt.format(writer, "\x1b[0m", .{});
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: implement helper functions for terminal capabilities:
|
// TODO: implement helper functions for terminal capabilities:
|
||||||
|
|||||||
Reference in New Issue
Block a user