From 428898ae93543ab47f977b2f6f287a6bb9287625 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 00:56:57 -0300 Subject: kinds: a kind's place is its last call's outcome, on the tape and in Slot.where_text on every core (digested now), which Jump and Recent read: they asked the kind through a taped placeOf that a Shadow answered from the place it last replayed, so a call in a step of another view's (after a window joined) moved the PDF's place unseen and the window's Esc back to it guessed 16:0.000000 1.000 against the authority's 16:0.000000 0.045 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/Core.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Core.zig') diff --git a/src/Core.zig b/src/Core.zig index 2e17b495..86916f9e 100644 --- a/src/Core.zig +++ b/src/Core.zig @@ -686,8 +686,7 @@ pub const RecentPlace = struct { path: []const u8, line: u32, col: u32, aline: u pub fn recentPlace(pane: *const Pane) ?RecentPlace { if (recentDot(pane)) |d| return .{ .path = d.path, .line = d.line, .col = d.col, .aline = d.aline, .acol = d.acol }; if (pane.addon) |k| if (k.path.len > 0) { - var buf: [32]u8 = undefined; - const line = Jump.firstNumber(pardes.Kind.placeOf(@constCast(k), &buf)); + const line = Jump.firstNumber(k.where_text.slice()); return .{ .path = k.path, .line = line, .col = @intFromBool(line > 0) }; }; return null; -- cgit v1.3