When a script runs in one pane, I’d like its output somewhere I can look at it later. split-window -I creates a pane that shows whatever you pipe in.
make 2>&1 | tmux split-window -I
The new pane has no prompt. It simply displays the text arriving on standard input, here the output and errors of make. The original pane goes back to its prompt once the pipe is done.
A quick test from any pane:
ls -l /etc | tmux split-window -I -h
Normal split flags work, so -h puts it beside you and -l 15 sets its size. It also works with -d, so focus stays where it was.
The pane doesn’t disappear when the text stops coming. Close it with Ctrl-b x when you are done. Scrolling works as in any pane, through copy mode with Ctrl-b [.
It is a neat trick for scripts too, where a long report can go into its own pane instead of flooding the one you are working in.
Further reading: tmux manual page (OpenBSD)