In tmux, I am splitting my window into several panes, all via .tmux.conf: Everything works when I split it into three windows (top left, top right, bottom). When I then proceed to split the top left pane it doesn't resize to the correct percent.
# --- set panes the way I want them ---- new -d -s mySession -n myWindow -x 800 -y 800 # ... create new session (1) with new window (0) select-window -t myWindow # select myWindow (0) split-window -v -p 50 -t myWindow # split myWindow (0) vertically into halves (50 percent) select-pane -t 0 # select the top pane split-window -h -p 50 # splits top pane horizontally into halves (50 percent) select-pane -t 0 # select top left pane split-window -v -p 50 -t myWindow # split vertically by 50% <--- SOURCE OF PROBLEM # --- run specific commands in each pane---- select-pane -t 0 send-keys "this is pane 0" select-pane -t 1 send-keys "this is pane 1" select-pane -t 2 send-keys "this is pane 2" select-pane -t 3 send-keys "this is pane 3"
The problem is that this last split isn't at 50/50. Its always off. What is causing this?