mirror of
https://github.com/tmux/tmux.git
synced 2026-10-06 17:49:52 +00:00
Fix test again.
This commit is contained in:
@@ -43,9 +43,10 @@ compare() {
|
||||
|
||||
# new_scene <width> <height>: fresh inner window of the given window size.
|
||||
new_scene() {
|
||||
$TMUX2 neww -d "sh -c 'printf base; exec sleep 100'" || exit 1
|
||||
$TMUX2 selectw -t:\$ || exit 1
|
||||
$TMUX2 killw -a || exit 1
|
||||
window=$($TMUX2 neww -dP -F '#{window_id}' \
|
||||
"sh -c 'printf base; exec sleep 100'") || exit 1
|
||||
$TMUX2 selectw -t"$window" || exit 1
|
||||
$TMUX2 killw -a -t"$window" || exit 1
|
||||
$TMUX2 resizew -x$1 -y$2 || exit 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user