mirror of
https://github.com/tmux/tmux.git
synced 2026-06-23 08:27:08 +00:00
Add some content to test panes.
This commit is contained in:
@@ -63,6 +63,13 @@ fill_base_pattern() {
|
||||
$TMUX2 respawnp -k "sh -c 'i=0; while [ \$i -lt 12 ]; do printf \"%02d:abcdefghijklmnopqrstuvwxyz0123456789\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
|
||||
}
|
||||
|
||||
# fill_all_panes: make each pane visibly nonblank.
|
||||
fill_all_panes() {
|
||||
for pane in $($TMUX2 list-panes -F '#{pane_id}'); do
|
||||
$TMUX2 respawnp -k -t "$pane" "sh -c 'i=0; while [ \$i -lt 5 ]; do printf \"TILE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
|
||||
done
|
||||
}
|
||||
|
||||
$TMUX kill-server 2>/dev/null
|
||||
$TMUX2 kill-server 2>/dev/null
|
||||
|
||||
@@ -149,6 +156,7 @@ compare floating-clip-bottom
|
||||
# NOT merge its borders with the tiled pane borders underneath.
|
||||
new_scene 40 12
|
||||
tile_2x2
|
||||
fill_all_panes
|
||||
$TMUX2 new-pane -x16 -y6 -X11 -Y3 "sh -c 'printf FLT; exec sleep 100'" || exit 1
|
||||
compare floating-over-tiled
|
||||
|
||||
@@ -156,6 +164,7 @@ compare floating-over-tiled
|
||||
# the two border styles must coexist without merging.
|
||||
new_scene 40 12
|
||||
tile_2x2
|
||||
fill_all_panes
|
||||
$TMUX2 new-pane -x16 -y6 -X11 -Y3 -B double \
|
||||
"sh -c 'printf FLT; exec sleep 100'" || exit 1
|
||||
compare floating-over-tiled-double
|
||||
|
||||
Reference in New Issue
Block a user