diff --git a/regress/screen-redraw-outside.sh b/regress/screen-redraw-outside.sh index 3eeb94938..cebca2c74 100644 --- a/regress/screen-redraw-outside.sh +++ b/regress/screen-redraw-outside.sh @@ -93,6 +93,15 @@ $TMUX2 splitw -v "$C" || exit 1 $TMUX2 select-layout tiled || exit 1 compare outside-both-2x2 +# Top pane status supplies internal horizontal borders, but there is no pane +# below the window to supply its bottom edge. +new_scene 28 9 +$TMUX2 setw pane-border-status top || exit 1 +$TMUX2 setw pane-border-format "" || exit 1 +compare outside-both-status-top-single +$TMUX2 splitw -v "$C" || exit 1 +compare outside-both-status-top-split + # Window BIGGER than the client: only part of the window is viewed and the view # can be panned (refresh-client). This exercises a non-zero scene offset. # A 2x2 grid in a 60x20 window viewed through the 40x14 client. diff --git a/regress/screen-redraw-results/outside-both-status-top-single.result b/regress/screen-redraw-results/outside-both-status-top-single.result new file mode 100644 index 000000000..5f1395ea3 --- /dev/null +++ b/regress/screen-redraw-results/outside-both-status-top-single.result @@ -0,0 +1,14 @@ +────────────────────────────┐··········· +OUT01 abcdefghij │··········· +OUT02 abcdefghij │··········· +OUT03 abcdefghij │··········· +OUT04 abcdefghij │··········· +OUT05 abcdefghij │··········· +OUT06 abcdefghij │··········· +OUT07 abcdefghij │··········· + │··········· +────────────────────────────┘··········· +········································ +········································ +········································ +········································ diff --git a/regress/screen-redraw-results/outside-both-status-top-split.result b/regress/screen-redraw-results/outside-both-status-top-split.result new file mode 100644 index 000000000..ae8ca37d6 --- /dev/null +++ b/regress/screen-redraw-results/outside-both-status-top-split.result @@ -0,0 +1,14 @@ +────────────────────────────┐··········· +OUT06 abcdefghij │··········· +OUT07 abcdefghij │··········· + │··········· +────────────────────────────┤··········· +PAN05 abcdefghij │··········· +PAN06 abcdefghij │··········· +PAN07 abcdefghij │··········· + │··········· +────────────────────────────┘··········· +········································ +········································ +········································ +········································