Skip to content

Commit 799e4bc

Browse files
committed
example/zig-formatter: fix build for new palette API
1 parent 450155f commit 799e4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎example/zig-formatter/src/main.zig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub fn main() !void {
3131
// Use TerminalFormatter to emit HTML
3232
const formatter: ghostty_vt.formatter.TerminalFormatter = .init(&t, .{
3333
.emit = .html,
34-
.palette = &t.color_palette.colors,
34+
.palette = &t.colors.palette.current,
3535
});
3636

3737
// Write to stdout

0 commit comments

Comments
 (0)