On this page
workspace.Pane
- Module
- workspace
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- workspace/workspace.go
-
Pane is one pane in a window. YAML accepts either a bare command string or a mapping, so "echo hello" and {shell_command: echo hello} are equivalent.
11 declared, 0 inherited
Members
- Commands attribute Commands run in the pane, in order.
- CommandsBefore attribute CommandsBefore run before Commands, after the window's.
- Enter attribute Enter applies to every command in this pane unless the command sets its own. Nil presses Enter, matching tmuxp.
- Environment attribute Environment is written to the session after all panes in the window exist and before this pane's commands are sent. Pane entries are processed in order, so repeated names keep the last value written.
- Focus attribute Focus selects this pane once its window is built.
- Shell attribute Shell replaces this pane's command. On the first pane it conflicts with Window.Shell because tmux creates that pane with the window.
- SleepAfter attribute SleepAfter delays after each of this pane's commands, in the same units.
- SleepBefore attribute SleepBefore delays before each of this pane's commands. YAML writes it as a number of seconds, matching tmuxp, so 0.5 is half a second.
- StartDirectory attribute StartDirectory overrides the window directory for this pane.
- SuppressHistory attribute SuppressHistory overrides the window setting for this pane.
- UnmarshalYAML method UnmarshalYAML decodes a pane written as a bare command or as a mapping.