Moved new-pane into split-window.

This commit is contained in:
Dane Jensen
2026-05-16 17:30:30 -07:00
parent fd4e683151
commit 76196b8ffa
4 changed files with 136 additions and 109 deletions

View File

@@ -379,7 +379,7 @@ spawn_pane(struct spawn_context *sc, char **cause)
goto complete;
}
/* Store current working directory and change to new one. */
/* Store current working directory and change to new one. */
if (getcwd(path, sizeof path) != NULL) {
if (chdir(new_wp->cwd) == 0)
actual_cwd = new_wp->cwd;