From d192e2a190016909ca4473bb3ea44ccc809945c1 Mon Sep 17 00:00:00 2001 From: GeekMr <140129782+WilliamWang1721@users.noreply.github.com> Date: Mon, 21 Sep 2026 21:48:57 +0800 Subject: [PATCH] docs: align directory history contract --- nebula_app/src/directory_history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nebula_app/src/directory_history.rs b/nebula_app/src/directory_history.rs index 88e4bb7..cf27fde 100644 --- a/nebula_app/src/directory_history.rs +++ b/nebula_app/src/directory_history.rs @@ -157,7 +157,7 @@ impl DirectoryHistory { } } - /// Record a directory only after the shell reports it as the active cwd. + /// Record a directory confirmed by local terminal startup or cwd reporting. pub(crate) fn record(&self, path: &str) -> bool { let Some(observation) = observation(path, current_time()) else { return false }; let mut state = self.state.lock();