OSC: improve formatting of ColorOperationSource
parent
bd4d1950ce
commit
f2dfd9f677
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue