R6.3 done: round 3 fix, hard links join the recent list
release / macos (push) Failing after 1s
release / windows (push) Failing after 2s
release / linux (push) Skipped

An explicit open checks the session registry by file identity, so a
hard link to a shown file joins the list. Ticked after round 3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-15 03:36:58 -04:00
1 parent 030ecfcff6
commit 39ff567226
5 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ impl Desk {
return self.open_folder(path, cx);
}
// A shown file only takes focus; the list still learns.
let shown = self.tab_of(&path).is_some();
let shown = self.core.sessions.is_open(&path).unwrap_or(false);
self.open_file(path.clone(), cx);
if shown {
self.remember(&path, cx);