workspace.Window
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Window is one window in a workspace.
Discussed in Go workspace builder API
Members
-
Name is the window name. Empty lets tmux choose.
-
Index requests an explicit winlink index. Nil uses the next free index.
-
Layout is a tmux layout name applied after the panes exist.
-
StartDirectory overrides the workspace directory for this window.
-
Shell replaces the command the window's first pane runs.
-
Focus selects this window once the workspace is built.
-
SuppressHistory overrides the workspace setting for this window's panes.
-
Options are applied after the window's initial pane exists and before additional panes are split.
-
OptionsAfter are window options applied once the panes exist, for settings that a later split would otherwise overwrite.
-
Environment is written to the session after this window's initial pane exists and before additional panes are split. Repeated names keep the last value written.
-
CommandsBefore run in each of this window's panes before the pane's own commands, after the workspace's.
-
Panes are created in order. The first pane is the window's initial pane; each later one splits the window.
-
UnmarshalYAML decodes the window, then its shell_command_before.