3 # new-session without clients should be the right size
8 [ -z "$TEST_TMUX" ] && TEST_TMUX
=$
(readlink
-f ..
/tmux
)
9 TMUX
="$TEST_TMUX -Ltest"
10 $TMUX kill-server
2>/dev
/null
13 trap "rm -f $TMP" 0 1 15
15 $TMUX -f/dev
/null new
-d </dev
/null ||
exit 1
17 $TMUX ls -F "#{window_width} #{window_height}" >$TMP
18 printf "80 24\n"|
cmp -s $TMP - ||
exit 1
19 $TMUX kill-server
2>/dev
/null
21 $TMUX -f/dev
/null new
-d -x 100 -y 50 </dev
/null ||
exit 1
23 $TMUX ls -F "#{window_width} #{window_height}" >$TMP
24 printf "100 50\n"|
cmp -s $TMP - ||
exit 1
25 $TMUX kill-server
2>/dev
/null