mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +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