mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-04 12:27:49 +00:00
OSC: improve formatting of ColorOperationSource
This commit is contained in:
@@ -179,10 +179,10 @@ pub const Command = union(enum) {
|
||||
pub fn format(
|
||||
self: ColorOperationSource,
|
||||
comptime _: []const u8,
|
||||
_: std.fmt.FormatOptions,
|
||||
options: std.fmt.FormatOptions,
|
||||
writer: anytype,
|
||||
) !void {
|
||||
try writer.print("{d}", .{@intFromEnum(self)});
|
||||
try std.fmt.formatInt(@intFromEnum(self), 10, .lower, options, writer);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user