mirror of
https://github.com/tmux/tmux.git
synced 2026-05-31 06:36:18 +00:00
Moved new-pane into split-window.
This commit is contained in:
2
spawn.c
2
spawn.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user