# a pane can shrink to just its tagline: border-drag the handle to the tag row # (0 body rows), the gutter box still grabs a move, and dragging back down # restores the body intact (the hidden pane's pty/vt is never resized) file w.txt x start 30 100 -n 3 wait 8000 w.txt stable 700 20000 # content in pane 0 so the restored body is provably intact press left 5 8 release left 5 8 stable 400 5000 key i text echo one; echo two key enter key esc settle 100 stable 400 5000 snap before # drag pane 0's bottom handle (its last row) up to its tag row: tag-only pane press left 20 16 drag left 20 2 release left 20 2 motion 40 25 stable 500 8000 snap shrunk # the shrunk pane's single row is now the pair's resize handle, but the gutter # box must still win: grab it, preview a move into the right column, abort by # releasing over the pane itself press left 1 2 drag left 70 8 stable 400 5000 snap move-preview drag left 20 2 release left 20 2 stable 400 5000 # re-enlarge: the tag row doubles as the drag handle, pull it back down press left 20 2 drag left 20 16 release left 20 16 motion 40 25 stable 500 8000 snap restored # the bottom pane can shrink to ITS tag too: drag past the bottom, clamp holds press left 20 16 drag left 20 30 release left 20 30 motion 40 25 stable 500 8000 snap bottom-shrunk