mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
adjust log message
This commit is contained in:
@ -3513,7 +3513,7 @@ fn showDesktopNotification(self: *Surface, title: [:0]const u8, body: [:0]const
|
|||||||
if (last_notification_time) |last| {
|
if (last_notification_time) |last| {
|
||||||
if (std.mem.eql(u8, &last_notification_digest, &new_notification_digest)) {
|
if (std.mem.eql(u8, &last_notification_digest, &new_notification_digest)) {
|
||||||
if (now.since(last) < 5 * std.time.ns_per_s) {
|
if (now.since(last) < 5 * std.time.ns_per_s) {
|
||||||
log.warn("suppressing identical notification", .{});
|
log.warn("suppressing identical desktop notification", .{});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user