terminal: formatter improvements for color handling

This commit is contained in:
Mitchell Hashimoto
2025-10-30 10:20:37 -07:00
parent 4c504560d4
commit 83a4f32a14
3 changed files with 147 additions and 15 deletions

View File

@@ -38,4 +38,5 @@ pub fn main() !void {
var stdout_writer = std.fs.File.stdout().writer(&buf);
const stdout = &stdout_writer.interface;
try stdout.print("{f}", .{formatter});
try stdout.flush();
}