Chain
Builds commands tmux runs together, each acting on what the one before made.
Source and package
- Qualified name
-
LibTmux .FSharp. Chain - Namespace
- LibTmux.FSharp
- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Hierarchy.fsi
-
Description
tmux moves its current target as a chain runs:
newWindowmakes the new window current, a following split splits its pane, and a followingsendLinetypes into the pane that split made. No step after the first names a target, so a chain needs no round trip to learn the id of what it just created.A chain is a core
TmuxChain: each step returns a new one, building reads nothing, andrunsends every command in one tmux invocation.addappends any command, such as a typed request'sToCommand.
Members8 members
- run Runs every command in one tmux invocation and returns tmux's combined answer.
- add Appends any command, such as a typed request's
ToCommand. - arrange Arranges the current window with a tmux layout; the chain checks the name before tmux sees it.
- newWindow Adds a window to a session and makes it the one following steps act on.
- sendLine Types a line into the current pane and presses Enter.
- splitLeftRight Splits the current pane into a left and a right one; the right becomes current.
- splitTopBottom Splits the current pane into a top and a bottom one; the bottom becomes current.
- start Starts an empty chain against a server.
Guides
task materialPages that discuss Chain.