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

pull/9412/head
Mitchell Hashimoto 2025-10-30 10:07:42 -07:00
parent 450155f150
commit 799e4bca50
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 1 deletions

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