mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-17 15:21:50 +00:00
apprt/gtk: Zig 0.15 whack a mole
This commit is contained in:
@@ -852,13 +852,13 @@ pub const Surface = extern struct {
|
|||||||
const body = body: {
|
const body = body: {
|
||||||
const exit_code = value.exit_code orelse break :body std.fmt.allocPrintSentinel(
|
const exit_code = value.exit_code orelse break :body std.fmt.allocPrintSentinel(
|
||||||
alloc,
|
alloc,
|
||||||
"Command took {}.",
|
"Command took {f}.",
|
||||||
.{value.duration.round(std.time.ns_per_ms)},
|
.{value.duration.round(std.time.ns_per_ms)},
|
||||||
0,
|
0,
|
||||||
) catch break :notify;
|
) catch break :notify;
|
||||||
break :body std.fmt.allocPrintSentinel(
|
break :body std.fmt.allocPrintSentinel(
|
||||||
alloc,
|
alloc,
|
||||||
"Command took {} and exited with code {d}.",
|
"Command took {f} and exited with code {d}.",
|
||||||
.{ value.duration.round(std.time.ns_per_ms), exit_code },
|
.{ value.duration.round(std.time.ns_per_ms), exit_code },
|
||||||
0,
|
0,
|
||||||
) catch break :notify;
|
) catch break :notify;
|
||||||
|
Reference in New Issue
Block a user