From ab220b89afcfda848cf84c18cc135a2e5c392b79 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 12:14:13 -0300 Subject: Recent goes on across a Restore, and is kept after it A Restore makes a new session, which never loaded the kept list, and saveRecent gives up until it has: Recent was empty after a Restore and nothing opened afterwards was kept. The new session now takes the old one's list (a boot from a dump reads the kept file). Co-Authored-By: Claude Opus 5.5 --- src/pardes.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index f6032ac5..ba9a1f90 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -4675,7 +4675,7 @@ pub const Pardes = struct { } /// The kept list of files opened lately, read once at start. - fn loadRecent(p: *Pardes) void { + pub fn loadRecent(p: *Pardes) void { const path = p.opts.recent_path orelse return; if (comptime !hosted) return; defer p.recent_loaded = true; -- cgit v1.3