R6.3 done: round 3 fix, hard links join the recent list
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:
1 parent
030ecfcff6
commit
39ff567226
5 files changed
+13
-9
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user