mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 13:44:44 +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 <width> <height>: fresh inner window of the given window size.
|
||||||
new_scene() {
|
new_scene() {
|
||||||
$TMUX2 neww -d "sh -c 'printf base; exec sleep 100'" || exit 1
|
window=$($TMUX2 neww -dP -F '#{window_id}' \
|
||||||
$TMUX2 selectw -t:\$ || exit 1
|
"sh -c 'printf base; exec sleep 100'") || exit 1
|
||||||
$TMUX2 killw -a || exit 1
|
$TMUX2 selectw -t"$window" || exit 1
|
||||||
|
$TMUX2 killw -a -t"$window" || exit 1
|
||||||
$TMUX2 resizew -x$1 -y$2 || exit 1
|
$TMUX2 resizew -x$1 -y$2 || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user