fix: apply tmux layout config during pane spawning (#1671)

This commit is contained in:
YeonGyu-Kim
2026-02-17 01:36:01 +09:00
parent 187c6b0700
commit 1c8e7dba9e
5 changed files with 208 additions and 57 deletions
+3 -1
View File
@@ -3,10 +3,12 @@ import type { TmuxLayout } from "../../../config/schema"
import { getTmuxPath } from "../../../tools/interactive-bash/tmux-path-resolver"
export async function applyLayout(
tmux: string,
layout: TmuxLayout,
mainPaneSize: number,
): Promise<void> {
const tmux = await getTmuxPath()
if (!tmux) return
const layoutProc = spawn([tmux, "select-layout", layout], {
stdout: "ignore",
stderr: "ignore",