From 3f4ba3490904da77c4b244c21017fcf94f3bb198 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 12:20:56 -0300 Subject: A look miss said again is its err record counted, as any repeated err is Look's miss pushed its err record plain, so a script retrying one look filled the log with the same line, where other errs are counted (x2). Co-Authored-By: Claude Opus 5.5 --- src/look.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/look.zig') diff --git a/src/look.zig b/src/look.zig index 236f0687..5d16e6eb 100644 --- a/src/look.zig +++ b/src/look.zig @@ -1242,7 +1242,7 @@ fn missed(p: *Pardes, id: usize, comptime fmt: []const u8, args: anytype) void { p.fs.unlogged = false; const serial = if (p.panes[id]) |pane| pane.serial else 0; var rec: [said.len + 32]u8 = undefined; - pardes.ctlfs.events.notePath(p, "err", std.fmt.bufPrint(&rec, "{d} look: {s}", .{ serial, why }) catch return); + pardes.ctlfs.events.noteErrCounted(p, std.fmt.bufPrint(&rec, "{d} look: {s}", .{ serial, why }) catch return); } /// After a look at `path:N` focused its pane: a line past the end focuses -- cgit v1.3