mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 11:55:56 +00:00
Fix session size regress.
This commit is contained in:
parent
162d3cb1f4
commit
4002dbf0c1
@ -14,13 +14,13 @@ trap "rm -f $TMP" 0 1 15
|
||||
|
||||
$TMUX -f/dev/null new -d </dev/null || exit 1
|
||||
sleep 1
|
||||
$TMUX ls -F "#{session_width} #{session_height}" >$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 </dev/null || exit 1
|
||||
sleep 1
|
||||
$TMUX ls -F "#{session_width} #{session_height}" >$TMP
|
||||
$TMUX ls -F "#{window_width} #{window_height}" >$TMP
|
||||
printf "100 50\n"|cmp -s $TMP - || exit 1
|
||||
$TMUX kill-server 2>/dev/null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user