example/zig-formatter: fix build for new palette API

This commit is contained in:
Mitchell Hashimoto
2025-10-30 10:07:42 -07:00
parent 450155f150
commit 799e4bca50

View File

@@ -31,7 +31,7 @@ pub fn main() !void {
// Use TerminalFormatter to emit HTML
const formatter: ghostty_vt.formatter.TerminalFormatter = .init(&t, .{
.emit = .html,
.palette = &t.color_palette.colors,
.palette = &t.colors.palette.current,
});
// Write to stdout