fix: select pane with window name

This commit is contained in:
2026-02-01 10:56:36 +02:00
parent e917d6a5fc
commit 916bbef6e6

View File

@@ -60,7 +60,7 @@ func CreateFromConfig(opts exec.Opts, tmuxConfig config.ParsedTmuxConfigItem) er
}
// Select first pane
commands = append(commands, fmt.Sprintf("tmux select-pane -t %s.0", sessionName))
commands = append(commands, fmt.Sprintf("tmux select-pane -t %s:%s.0", sessionName, windowName))
}
// Select first window