Add some content to test panes.

This commit is contained in:
Nicholas Marriott
2026-06-21 20:47:23 +01:00
parent c64347cf78
commit 7ebac4a3c3
42 changed files with 394 additions and 385 deletions

View File

@@ -43,17 +43,17 @@ compare() {
} }
new_scene() { new_scene() {
$TMUX2 neww -d "sh -c 'exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'printf \"BIDI-LEFT 12345\nBIDI-RIGHT 67890\"; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x40 -y12 || exit 1 $TMUX2 resizew -x40 -y12 || exit 1
} }
C="sh -c 'exec sleep 100'" C="sh -c 'printf \"BIDI-PANE 12345\nBIDI-PANE 67890\"; exec sleep 100'"
$TMUX kill-server 2>/dev/null $TMUX kill-server 2>/dev/null
$TMUX2 kill-server 2>/dev/null $TMUX2 kill-server 2>/dev/null
$TMUX2 new -d -x40 -y12 "sh -c 'exec sleep 100'" || exit 1 $TMUX2 new -d -x40 -y12 "sh -c 'printf \"BIDI-BASE 12345\nBIDI-BASE 67890\"; exec sleep 100'" || exit 1
$TMUX2 set -g status off || exit 1 $TMUX2 set -g status off || exit 1
$TMUX2 set -g window-size manual || exit 1 $TMUX2 set -g window-size manual || exit 1
# Add the Bidi capability before the client attaches. # Add the Bidi capability before the client attaches.

View File

@@ -44,12 +44,12 @@ compare() {
} }
new_scene() { new_scene() {
$TMUX2 neww -d "sh -c 'exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt 13 ]; do printf \"BASE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x40 -y14 || exit 1 $TMUX2 resizew -x40 -y14 || exit 1
} }
C="sh -c 'exec sleep 100'" C="sh -c 'i=0; while [ \$i -lt 5 ]; do printf \"PANE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'"
$TMUX kill-server 2>/dev/null $TMUX kill-server 2>/dev/null
$TMUX2 kill-server 2>/dev/null $TMUX2 kill-server 2>/dev/null
@@ -125,13 +125,13 @@ compare cache-swap-after
# layout and switching back must not show the other window's cached scene. --- # layout and switching back must not show the other window's cached scene. ---
# Window A: a single pane (no internal border). # Window A: a single pane (no internal border).
$TMUX2 neww -d "sh -c 'exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt 13 ]; do printf \"WINA%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x40 -y14 || exit 1 $TMUX2 resizew -x40 -y14 || exit 1
A=$($TMUX2 display -p '#{window_id}') || exit 1 A=$($TMUX2 display -p '#{window_id}') || exit 1
# Window B: a top/bottom split (a horizontal border). # Window B: a top/bottom split (a horizontal border).
$TMUX2 neww -d "sh -c 'exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt 13 ]; do printf \"WINB%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x40 -y14 || exit 1 $TMUX2 resizew -x40 -y14 || exit 1
$TMUX2 splitw -v "$C" || exit 1 $TMUX2 splitw -v "$C" || exit 1
@@ -151,7 +151,7 @@ compare cache-window-a-again
# be rebuilt at the new size (the scene->sx/sy mismatch path in # be rebuilt at the new size (the scene->sx/sy mismatch path in
# redraw_get_scene), not drawn at the old size. # redraw_get_scene), not drawn at the old size.
$TMUX2 set -g window-size latest || exit 1 $TMUX2 set -g window-size latest || exit 1
$TMUX2 neww -d "sh -c 'exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt 13 ]; do printf \"SIZE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 splitw -v "$C" || exit 1 $TMUX2 splitw -v "$C" || exit 1
compare cache-resizeclient-before compare cache-resizeclient-before

View File

@@ -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 $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 $TMUX kill-server 2>/dev/null
$TMUX2 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. # NOT merge its borders with the tiled pane borders underneath.
new_scene 40 12 new_scene 40 12
tile_2x2 tile_2x2
fill_all_panes
$TMUX2 new-pane -x16 -y6 -X11 -Y3 "sh -c 'printf FLT; exec sleep 100'" || exit 1 $TMUX2 new-pane -x16 -y6 -X11 -Y3 "sh -c 'printf FLT; exec sleep 100'" || exit 1
compare floating-over-tiled compare floating-over-tiled
@@ -156,6 +164,7 @@ compare floating-over-tiled
# the two border styles must coexist without merging. # the two border styles must coexist without merging.
new_scene 40 12 new_scene 40 12
tile_2x2 tile_2x2
fill_all_panes
$TMUX2 new-pane -x16 -y6 -X11 -Y3 -B double \ $TMUX2 new-pane -x16 -y6 -X11 -Y3 -B double \
"sh -c 'printf FLT; exec sleep 100'" || exit 1 "sh -c 'printf FLT; exec sleep 100'" || exit 1
compare floating-over-tiled-double compare floating-over-tiled-double

View File

@@ -45,17 +45,17 @@ compare() {
# new_scene <width> <height>: fresh inner window smaller than the 40x14 client. # new_scene <width> <height>: fresh inner window smaller than the 40x14 client.
new_scene() { new_scene() {
$TMUX2 neww -d "sh -c 'printf base; exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt $(($2 - 1)) ]; do printf \"OUT%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x$1 -y$2 || exit 1 $TMUX2 resizew -x$1 -y$2 || exit 1
} }
C="sh -c 'exec sleep 100'" C="sh -c 'i=0; while [ \$i -lt 8 ]; do printf \"PAN%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'"
$TMUX kill-server 2>/dev/null $TMUX kill-server 2>/dev/null
$TMUX2 kill-server 2>/dev/null $TMUX2 kill-server 2>/dev/null
$TMUX2 new -d -x40 -y14 "sh -c 'printf base; exec sleep 100'" || exit 1 $TMUX2 new -d -x40 -y14 "sh -c 'i=0; while [ \$i -lt 13 ]; do printf \"OUT%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 set -g status off || exit 1 $TMUX2 set -g status off || exit 1
$TMUX2 set -g window-size manual || exit 1 $TMUX2 set -g window-size manual || exit 1

View File

@@ -42,7 +42,7 @@ compare() {
fi fi
} }
C="sh -c 'exec sleep 100'" C="sh -c 'i=0; while [ \$i -lt 13 ]; do printf \"POP%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'"
# setup: fresh inner window attached inside a fresh outer pane, 40x14. # setup: fresh inner window attached inside a fresh outer pane, 40x14.
setup() { setup() {

View File

@@ -1,5 +1,5 @@
BIDI-LEFT 12345
BIDI-RIGHT 67890

View File

@@ -1,5 +1,5 @@
⁩│⁦ BIDI-LEFT 12345 BIDI-PANE 12345
⁩│⁦ BIDI-RIGHT 67890 BIDI-PANE 67890
⁩│⁦ ⁩│⁦
⁩│⁦ ⁩│⁦
⁩│⁦ ⁩│⁦

View File

@@ -1,14 +1,14 @@
PAN06 abcdefghij
PAN07 abcdefghij
─────────┼────────────────────────────── ─────────┼──────────────────────────────
PAN00 abcdefghij
PAN01 abcdefghij
PAN02 abcdefghij
PAN03 abcdefghij
PAN04 abcdefghij
PAN05 abcdefghij
PAN06 abcdefghij
PAN07 abcdefghij

View File

@@ -1,14 +1,14 @@
base OUT11 abcdefghijPAN00 abcd
OUT12 abcdefghijPAN01 abcd
OUT13 abcdefghijPAN02 abcd
OUT14 abcdefghijPAN03 abcd
OUT15 abcdefghijPAN04 abcd
OUT16 abcdefghijPAN05 abcd
OUT17 abcdefghijPAN06 abcd
OUT18 abcdefghijPAN07 abcd
─────────────────────────────┼────────── ─────────────────────────────┼──────────
PAN00 abcdefghijPAN00 abcd
PAN01 abcdefghijPAN01 abcd
PAN02 abcdefghijPAN02 abcd
PAN03 abcdefghijPAN03 abcd

View File

@@ -1,14 +1,14 @@
hijPANE00 abcdefghij
BASE07 abcdefg│PANE01 abcdefghij
hijPANE02 abcdefghij
BASE08 abcdefg│PANE03 abcdefghij
hijPANE04 abcdefghij
BASE09 abcdefg
hij
BASE10 abcdefg
hij
BASE11 abcdefg
hij
BASE12 abcdefg
hij

View File

@@ -1,14 +1,14 @@
BASE00 abcdefghij │PANE00 abcdefghij
BASE01 abcdefghij │PANE01 abcdefghij
BASE02 abcdefghij │PANE02 abcdefghij
BASE03 abcdefghij │PANE03 abcdefghij
BASE04 abcdefghij │PANE04 abcdefghij
BASE05 abcdefghij
BASE06 abcdefghij
BASE07 abcdefghij
BASE08 abcdefghij
BASE09 abcdefghij
BASE10 abcdefghij
BASE11 abcdefghij
BASE12 abcdefghij

View File

@@ -1,10 +1,10 @@
SIZE09 abcdefghij
SIZE10 abcdefghij
SIZE11 abcdefghij
SIZE12 abcdefghij
────────────────────────────── ──────────────────────────────
PANE02 abcdefghij
PANE03 abcdefghij
PANE04 abcdefghij

View File

@@ -1,14 +1,14 @@
SIZE07 abcdefghij
SIZE08 abcdefghij
SIZE09 abcdefghij
SIZE10 abcdefghij
SIZE11 abcdefghij
SIZE12 abcdefghij
──────────────────────────────────────── ────────────────────────────────────────
PANE00 abcdefghij
PANE01 abcdefghij
PANE02 abcdefghij
PANE03 abcdefghij
PANE04 abcdefghij

View File

@@ -1,14 +1,14 @@
── BBB ───┬── CCC ──┬── AAA ──────────── ── BBB ───┬── CCC ──┬── AAA ────────────
│ │ PANE00 abc│cdefghij │BASE01 abcdefghij
│ │ defghij │PANE03 ab│BASE02 abcdefghij
│ │ PANE01 abc│cdefghij │BASE03 abcdefghij
│ │ defghij │PANE04 ab│BASE04 abcdefghij
│ │ PANE02 abc│cdefghij │BASE05 abcdefghij
│ │ defghij │ │BASE06 abcdefghij
│ │ PANE03 abc│ │BASE07 abcdefghij
│ │ defghij │ │BASE08 abcdefghij
│ │ PANE04 abc│ │BASE09 abcdefghij
│ │ defghij │ │BASE10 abcdefghij
│ │ │ │BASE11 abcdefghij
│ │ │ │BASE12 abcdefghij
│ │ │ │

View File

@@ -1,14 +1,14 @@
── AAA ───┬── BBB ──┬── CCC ──────────── ── AAA ───┬── BBB ──┬── CCC ────────────
│ │ BASE07 abc│PANE00 ab│PANE00 abcdefghij
│ │ defghij │cdefghij │PANE01 abcdefghij
│ │ BASE08 abc│PANE01 ab│PANE02 abcdefghij
│ │ defghij │cdefghij │PANE03 abcdefghij
│ │ BASE09 abc│PANE02 ab│PANE04 abcdefghij
defghij │cdefghij
BASE10 abc│PANE03 ab
defghij │cdefghij
BASE11 abc│PANE04 ab
defghij │cdefghij
│ │ BASE12 abc│ │
│ │ defghij │ │
│ │ │ │

View File

@@ -1,14 +1,14 @@
── RIGHT ───────────┬── LEFT ─────────── ── RIGHT ───────────┬── LEFT ───────────
PANE00 abcdefghij │BASE01 abcdefghij
PANE01 abcdefghij │BASE02 abcdefghij
PANE02 abcdefghij │BASE03 abcdefghij
PANE03 abcdefghij │BASE04 abcdefghij
PANE04 abcdefghij │BASE05 abcdefghij
BASE06 abcdefghij
BASE07 abcdefghij
BASE08 abcdefghij
BASE09 abcdefghij
BASE10 abcdefghij
BASE11 abcdefghij
BASE12 abcdefghij

View File

@@ -1,14 +1,14 @@
── LEFT ────────────┬── RIGHT ────────── ── LEFT ────────────┬── RIGHT ──────────
BASE01 abcdefghij │PANE00 abcdefghij
BASE02 abcdefghij │PANE01 abcdefghij
BASE03 abcdefghij │PANE02 abcdefghij
BASE04 abcdefghij │PANE03 abcdefghij
BASE05 abcdefghij │PANE04 abcdefghij
BASE06 abcdefghij
BASE07 abcdefghij
BASE08 abcdefghij
BASE09 abcdefghij
BASE10 abcdefghij
BASE11 abcdefghij
BASE12 abcdefghij

View File

@@ -1,14 +1,14 @@
WINA00 abcdefghij
WINA01 abcdefghij
WINA02 abcdefghij
WINA03 abcdefghij
WINA04 abcdefghij
WINA05 abcdefghij
WINA06 abcdefghij
WINA07 abcdefghij
WINA08 abcdefghij
WINA09 abcdefghij
WINA10 abcdefghij
WINA11 abcdefghij
WINA12 abcdefghij

View File

@@ -1,14 +1,14 @@
WINA00 abcdefghij
WINA01 abcdefghij
WINA02 abcdefghij
WINA03 abcdefghij
WINA04 abcdefghij
WINA05 abcdefghij
WINA06 abcdefghij
WINA07 abcdefghij
WINA08 abcdefghij
WINA09 abcdefghij
WINA10 abcdefghij
WINA11 abcdefghij
WINA12 abcdefghij

View File

@@ -1,14 +1,14 @@
WINB07 abcdefghij
WINB08 abcdefghij
WINB09 abcdefghij
WINB10 abcdefghij
WINB11 abcdefghij
WINB12 abcdefghij
──────────────────────────────────────── ────────────────────────────────────────
PANE00 abcdefghij
PANE01 abcdefghij
PANE02 abcdefghij
PANE03 abcdefghij
PANE04 abcdefghij

View File

@@ -1,12 +1,12 @@
base │ TILE01 abcdefghij │TILE01 abcdefghij
TILE02 abcdefghij │TILE02 abcdefghij
╔════════════════╗ TILE03 abc╔════════════════╗bcdefghij
║FLT ║ TILE04 abc║FLT ║bcdefghij
║ ║ ║ ║
──────────║ ║──────────── ──────────║ ║────────────
║ ║ TILE00 abc║ ║bcdefghij
║ ║ TILE01 abc║ ║bcdefghij
║ ║ TILE02 abc║ ║bcdefghij
╚════════════════╝ TILE03 abc╚════════════════╝bcdefghij
TILE04 abcdefghij │TILE04 abcdefghij

View File

@@ -1,12 +1,12 @@
base │ TILE01 abcdefghij │TILE01 abcdefghij
TILE02 abcdefghij │TILE02 abcdefghij
┌────────────────┐ TILE03 abc┌────────────────┐bcdefghij
│FLT │ TILE04 abc│FLT │bcdefghij
│ │ │ │
──────────│ │──────────── ──────────│ │────────────
│ │ TILE00 abc│ │bcdefghij
│ │ TILE01 abc│ │bcdefghij
│ │ TILE02 abc│ │bcdefghij
└────────────────┘ TILE03 abc└────────────────┘bcdefghij
TILE04 abcdefghij │TILE04 abcdefghij

View File

@@ -1,11 +1,11 @@
base │··········· hij ij │···········
│··········· OUT07 abcdefg│PAN07 abcdefgh│···········
│··········· hijij │···········
│ │··········· │ │···········
─────────────┼──────────────┤··········· ─────────────┼──────────────┤···········
│··········· hijij │···········
│··········· PAN07 abcdefg│PAN07 abcdefgh│···········
│··········· hijij │···········
│ │··········· │ │···········
─────────────┴──────────────┘··········· ─────────────┴──────────────┘···········
········································ ········································

View File

@@ -1,11 +1,11 @@
base OUT05 abcdefghij
OUT06 abcdefghij
OUT07 abcdefghij
──────────────────────────────────────── ────────────────────────────────────────
PAN05 abcdefghij
PAN06 abcdefghij
PAN07 abcdefghij
──────────────────────────────────────── ────────────────────────────────────────
········································ ········································

View File

@@ -1,14 +1,14 @@
base │··········· OUT00 abcdefghij │···········
│··········· OUT01 abcdefghij │···········
│··········· OUT02 abcdefghij │···········
│··········· OUT03 abcdefghij │···········
│··········· OUT04 abcdefghij │···········
│··········· OUT05 abcdefghij │···········
│··········· OUT06 abcdefghij │···········
│··········· OUT07 abcdefghij │···········
│··········· OUT08 abcdefghij │···········
│··········· OUT09 abcdefghij │···········
│··········· OUT10 abcdefghij │···········
│··········· OUT11 abcdefghij │···········
│··········· OUT12 abcdefghij │···········
│··········· │···········

View File

@@ -1,14 +1,14 @@
base │··········· ij hij │···········
│··········· OUT07 abcdefgh│PAN02 abcdefg│···········
│··········· ijhij │···········
│··········· OUT08 abcdefgh│PAN03 abcdefg│···········
│··········· ijhij │···········
│··········· OUT09 abcdefgh│PAN04 abcdefg│···········
│··········· ijhij │···········
│··········· OUT10 abcdefgh│PAN05 abcdefg│···········
│··········· ijhij │···········
│··········· OUT11 abcdefgh│PAN06 abcdefg│···········
│··········· ijhij │···········
│··········· OUT12 abcdefgh│PAN07 abcdefg│···········
│··········· ijhij │···········
│ │··········· │ │···········

View File

@@ -1,14 +1,14 @@
┌──────────────────┐ POP00 ┌──────────────────┐
│POPUP │ POP01 │POPUP │
│ │ POP02 │ │
│ │ POP03 │ │
│ │ POP04 │ │
└──────────────────┘ POP05 └──────────────────┘
POP06 abcdefghij
POP07 abcdefghij
POP08 abcdefghij
POP09 abcdefghij
POP10 abcdefghij
POP11 abcdefghij
POP12 abcdefghij

View File

@@ -1,14 +1,14 @@
╔══════════════════╗ POP00 ╔══════════════════╗
║POPUP ║ POP01 ║POPUP ║
║ ║ POP02 ║ ║
║ ║ POP03 ║ ║
║ ║ POP04 ║ ║
╚══════════════════╝ POP05 ╚══════════════════╝
POP06 abcdefghij
POP07 abcdefghij
POP08 abcdefghij
POP09 abcdefghij
POP10 abcdefghij
POP11 abcdefghij
POP12 abcdefghij

View File

@@ -1,14 +1,14 @@
POPUP POP00 POPUP
POP01
POP02
POP03
POP04
POP05
POP06 abcdefghij
POP07 abcdefghij
POP08 abcdefghij
POP09 abcdefghij
POP10 abcdefghij
POP11 abcdefghij
POP12 abcdefghij

View File

@@ -1,14 +1,14 @@
┌──────────────────────┐ POP00 ab┌──────────────────────┐fghij
│POPUP │ POP01 ab│POPUP │fghij
│ │ POP02 ab│ │fghij
│ │ POP03 ab│ │fghij
│ │ POP04 ab│ │fghij
│ │ POP05 ab│ │fghij
│ │ POP06 ab│ │fghij
└──────────────────────┘ POP07 ab└──────────────────────┘fghij
POP08 abcdefghij │POP08 abcdefghij
POP09 abcdefghij │POP09 abcdefghij
POP10 abcdefghij │POP10 abcdefghij
POP11 abcdefghij │POP11 abcdefghij
POP12 abcdefghij │POP12 abcdefghij

View File

@@ -1,12 +1,12 @@
base  SB00 abcdefghij 
  SB01 abcdefghij 
 ┌────────────────────┐  SB02 ab┌────────────────────┐ 
 │FLOAT  │  SB03 ab│FLOAT00 abcdef  │ 
 │  │  SB04 ab│FLOAT01 abcdef  │ 
 │  │  SB05 ab│FLOAT02 abcdef  │ 
 │  │  SB06 ab│FLOAT03 abcdef  │ 
 │  │  SB07 ab│FLOAT04 abcdef  │ 
 │  │  SB08 ab│  │ 
 └────────────────────┘  SB09 ab└────────────────────┘ 
  SB10 abcdefghij 
   

View File

@@ -1,12 +1,12 @@
  base   SB00 abcdefghij
    SB01 abcdefghij
    SB02 abcdefghij
    SB03 abcdefghij
    SB04 abcdefghij
    SB05 abcdefghij
    SB06 abcdefghij
    SB07 abcdefghij
    SB08 abcdefghij
    SB09 abcdefghij
    SB10 abcdefghij
   

View File

@@ -1,12 +1,12 @@
 base  SB00 abcdefghij
   SB01 abcdefghij
   SB02 abcdefghij
   SB03 abcdefghij
   SB04 abcdefghij
   SB05 abcdefghij
   SB06 abcdefghij
   SB07 abcdefghij
   SB08 abcdefghij
   SB09 abcdefghij
   SB10 abcdefghij
   

View File

@@ -1,12 +1,12 @@
base  SB00 abcdefghij 
  SB01 abcdefghij 
  SB02 abcdefghij 
  SB03 abcdefghij 
  SB04 abcdefghij 
  SB05 abcdefghij 
  SB06 abcdefghij 
  SB07 abcdefghij 
  SB08 abcdefghij 
  SB09 abcdefghij 
  SB10 abcdefghij 
   

View File

@@ -1,12 +1,12 @@
base  SB00 abcdefghij 
  SB01 abcdefghij 
  SB02 abcdefghij 
  SB03 abcdefghij 
  SB04 abcdefghij 
  SB05 abcdefghij 
  SB06 abcdefghij 
  SB07 abcdefghij 
  SB08 abcdefghij 
  SB09 abcdefghij 
  SB10 abcdefghij 
   

View File

@@ -1,12 +1,12 @@
base  SB00 abcdefghij 
  SB01 abcdefghij 
  SB02 abcdefghij 
  SB03 abcdefghij 
  SB04 abcdefghij 
  SB05 abcdefghij 
  SB06 abcdefghij 
  SB07 abcdefghij 
  SB08 abcdefghij 
  SB09 abcdefghij 
  SB10 abcdefghij 
   

View File

@@ -1,12 +1,12 @@
 base │ base  SB00 abcdefghij │ SBL00 abcdefghij
  │   SB01 abcdefghij │ SBL01 abcdefghij
  │   SB02 abcdefghij │ SBL02 abcdefghij
  │   SB03 abcdefghij │ SBL03 abcdefghij
  │   SB04 abcdefghij │ SBL04 abcdefghij
  │   SB05 abcdefghij │ SBL05 abcdefghij
  │   SB06 abcdefghij │ SBL06 abcdefghij
     SB07 abcdefghij SBL07 abcdefghij
     SB08 abcdefghij SBL08 abcdefghij
     SB09 abcdefghij SBL09 abcdefghij
     SB10 abcdefghij SBL10 abcdefghij
  │    │ 

View File

@@ -1,12 +1,12 @@
base  │base  SB00 abcdefghij  │SBR00 abcdefghij 
  │  SB01 abcdefghij  │SBR01 abcdefghij 
  │  SB02 abcdefghij  │SBR02 abcdefghij 
  │  SB03 abcdefghij  │SBR03 abcdefghij 
  │  SB04 abcdefghij  │SBR04 abcdefghij 
  │  SB05 abcdefghij  │SBR05 abcdefghij 
  │  SB06 abcdefghij  │SBR06 abcdefghij 
  │  SB07 abcdefghij  │SBR07 abcdefghij 
  │  SB08 abcdefghij  │SBR08 abcdefghij 
  │  SB09 abcdefghij  │SBR09 abcdefghij 
  │  SB10 abcdefghij  │SBR10 abcdefghij 
  │    │ 

View File

@@ -1,8 +1,8 @@
 │ STYLE00 abcdefghij │STYLE00 abcdefghij
 │ STYLE01 abcdefghij │STYLE01 abcdefghij
 │ STYLE02 abcdefghij │STYLE02 abcdefghij
 │ STYLE03 abcdefghij │STYLE03 abcdefghij
 │ STYLE04 abcdefghij │STYLE04 abcdefghij
 │ STYLE05 abcdefghij │STYLE05 abcdefghij
 │ STYLE06 abcdefghij │STYLE06 abcdefghij
 │  │

View File

@@ -1,8 +1,8 @@
 STYLE00 abcdefghij
STYLE01 abcdefghij
STYLE02 abcdefghij
STYLE03 abcdefghij
STYLE04 abcdefghij
STYLE05 abcdefghij
STYLE06 abcdefghij

View File

@@ -44,7 +44,7 @@ compare() {
# new_scene: fresh inner window, single full-size pane. # new_scene: fresh inner window, single full-size pane.
new_scene() { new_scene() {
$TMUX2 neww -d "sh -c 'printf base; exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt 11 ]; do printf \"SB%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x40 -y12 || exit 1 $TMUX2 resizew -x40 -y12 || exit 1
} }
@@ -52,7 +52,7 @@ new_scene() {
$TMUX kill-server 2>/dev/null $TMUX kill-server 2>/dev/null
$TMUX2 kill-server 2>/dev/null $TMUX2 kill-server 2>/dev/null
$TMUX2 new -d -x40 -y12 "sh -c 'printf base; exec sleep 100'" || exit 1 $TMUX2 new -d -x40 -y12 "sh -c 'i=0; while [ \$i -lt 11 ]; do printf \"SB%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 set -g status off || exit 1 $TMUX2 set -g status off || exit 1
$TMUX2 set -g window-size manual || exit 1 $TMUX2 set -g window-size manual || exit 1
$TMUX2 set -g pane-scrollbars on || exit 1 $TMUX2 set -g pane-scrollbars on || exit 1
@@ -103,7 +103,7 @@ compare scrollbar-left-pad
new_scene new_scene
$TMUX2 setw pane-scrollbars-position right || exit 1 $TMUX2 setw pane-scrollbars-position right || exit 1
$TMUX2 setw pane-scrollbars-style "bg=black,fg=white,width=1,pad=0" || exit 1 $TMUX2 setw pane-scrollbars-style "bg=black,fg=white,width=1,pad=0" || exit 1
$TMUX2 new-pane -x20 -y6 -X8 -Y3 "sh -c 'printf FLOAT; exec sleep 100'" || exit 1 $TMUX2 new-pane -x20 -y6 -X8 -Y3 "sh -c 'i=0; while [ \$i -lt 5 ]; do printf \"FLOAT%02d abcdef\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
compare scrollbar-floating compare scrollbar-floating
# Two tiled panes side by side, each with a right scrollbar. The left pane's # Two tiled panes side by side, each with a right scrollbar. The left pane's
@@ -114,7 +114,7 @@ compare scrollbar-floating
new_scene new_scene
$TMUX2 setw pane-scrollbars-position right || exit 1 $TMUX2 setw pane-scrollbars-position right || exit 1
$TMUX2 setw pane-scrollbars-style "bg=black,fg=white,width=1,pad=0" || exit 1 $TMUX2 setw pane-scrollbars-style "bg=black,fg=white,width=1,pad=0" || exit 1
$TMUX2 splitw -h "sh -c 'printf base; exec sleep 100'" || exit 1 $TMUX2 splitw -h "sh -c 'i=0; while [ \$i -lt 11 ]; do printf \"SBR%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectp -t0 || exit 1 $TMUX2 selectp -t0 || exit 1
compare scrollbar-split-right compare scrollbar-split-right
@@ -123,7 +123,7 @@ compare scrollbar-split-right
new_scene new_scene
$TMUX2 setw pane-scrollbars-position left || exit 1 $TMUX2 setw pane-scrollbars-position left || exit 1
$TMUX2 setw pane-scrollbars-style "bg=black,fg=white,width=1,pad=0" || exit 1 $TMUX2 setw pane-scrollbars-style "bg=black,fg=white,width=1,pad=0" || exit 1
$TMUX2 splitw -h "sh -c 'printf base; exec sleep 100'" || exit 1 $TMUX2 splitw -h "sh -c 'i=0; while [ \$i -lt 11 ]; do printf \"SBL%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectp -t0 || exit 1 $TMUX2 selectp -t0 || exit 1
compare scrollbar-split-left compare scrollbar-split-left

View File

@@ -39,17 +39,17 @@ compare() {
} }
new_scene() { new_scene() {
$TMUX2 neww -d "sh -c 'exec sleep 100'" || exit 1 $TMUX2 neww -d "sh -c 'i=0; while [ \$i -lt 7 ]; do printf \"STYLE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 selectw -t:\$ || exit 1 $TMUX2 selectw -t:\$ || exit 1
$TMUX2 resizew -x40 -y8 || exit 1 $TMUX2 resizew -x40 -y8 || exit 1
} }
C="sh -c 'exec sleep 100'" C="sh -c 'i=0; while [ \$i -lt 7 ]; do printf \"STYLE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'"
$TMUX kill-server 2>/dev/null $TMUX kill-server 2>/dev/null
$TMUX2 kill-server 2>/dev/null $TMUX2 kill-server 2>/dev/null
$TMUX2 new -d -x40 -y8 "sh -c 'exec sleep 100'" || exit 1 $TMUX2 new -d -x40 -y8 "sh -c 'i=0; while [ \$i -lt 7 ]; do printf \"STYLE%02d abcdefghij\n\" \$i; i=\$((i + 1)); done; exec sleep 100'" || exit 1
$TMUX2 set -g status off || exit 1 $TMUX2 set -g status off || exit 1
$TMUX2 set -g window-size manual || exit 1 $TMUX2 set -g window-size manual || exit 1