From a02c3a69bb5cea3832ef54e7cbe29425cc392eb3 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 22 Jul 2026 22:41:01 +0300 Subject: refactor: centralize new terminal cwd selection replaces contributions from Pitchfork-and-Torch --- src/app/api/panes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app/api/panes.rs') diff --git a/src/app/api/panes.rs b/src/app/api/panes.rs index 483d73a5..9947a3b8 100644 --- a/src/app/api/panes.rs +++ b/src/app/api/panes.rs @@ -51,7 +51,7 @@ impl App { }; let (rows, cols) = self.state.estimate_pane_size(); let split_cwd = params.cwd.map(std::path::PathBuf::from).or_else(|| { - let follow_cwd = self.follow_cwd_for_pane_in_workspace(ws_idx, target_pane_id); + let follow_cwd = self.launch_cwd_for_pane_in_workspace(ws_idx, target_pane_id); Some(self.resolve_new_terminal_cwd(follow_cwd)) }); let default_shell = self.state.default_shell.clone(); -- cgit v1.2.3