diff --git a/regress/new-session-size.sh b/regress/new-session-size.sh index 5493054b..89fc580d 100644 --- a/regress/new-session-size.sh +++ b/regress/new-session-size.sh @@ -14,13 +14,13 @@ trap "rm -f $TMP" 0 1 15 $TMUX -f/dev/null new -d $TMP +$TMUX ls -F "#{window_width} #{window_height}" >$TMP printf "80 24\n"|cmp -s $TMP - || exit 1 $TMUX kill-server 2>/dev/null $TMUX -f/dev/null new -d -x 100 -y 50 $TMP +$TMUX ls -F "#{window_width} #{window_height}" >$TMP printf "100 50\n"|cmp -s $TMP - || exit 1 $TMUX kill-server 2>/dev/null