mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-28 17:14:39 +00:00
example/zig-formatter: fix build for new palette API
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user