Side status line regress tests.

This commit is contained in:
Nicholas Marriott
2026-10-16 09:02:03 +01:00
parent 4ae6a7ec55
commit 647e15b038
24 changed files with 1779 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# A client attached with ignore-size that is shorter than the status line
# must have it turned off rather than kill the server.
# A client attached with ignore-size that is too small for the status line or
# the side status line must have them turned off rather than kill the server.
# Each inner client runs in an outer pane of its size.
PATH=/bin:/usr/bin
@@ -51,4 +51,10 @@ $TMUX set -g status 5 || exit 1
attach 80x24 80x4
$TMUX has-session 2>/dev/null || fail "server exited: status line too tall"
# A side status line wider than the client.
$TMUX set -g status on || exit 1
$TMUX set -g side-status left || exit 1
attach 80x24 13x24
$TMUX has-session 2>/dev/null || fail "server exited: side status too wide"
exit 0