diff --git a/examples/split/split.gif b/examples/split/split.gif new file mode 100644 index 000000000..26c11d291 --- /dev/null +++ b/examples/split/split.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5fa65945d7820f6d2f8233c36acab31cb9120714ccb22c592f31d0eb20a0c37 +size 12071 diff --git a/examples/split/split.tape b/examples/split/split.tape new file mode 100644 index 000000000..9eff283d2 --- /dev/null +++ b/examples/split/split.tape @@ -0,0 +1,25 @@ +Output split.gif + +Require tmux + +Hide + Type "tmux -f /dev/null -L test new-session -- bash" Enter + Type "tmux split-window -d -h -- bash && \" Enter + Type "tmux set status && \" Enter + Type 'tmux setw pane-border-style "fg=0" && \' Enter + Type 'tmux setw pane-active-border-style "fg=0"' Enter + Sleep 0.5 + Ctrl+L + Sleep 1 +Show + +Type "Window 1" +Sleep 1 + +# tmux bind to switch to next pane +Ctrl+B +Type o + +Sleep 1 +Type "Window 2" +Sleep 1