Option
Sets and reads tmux options through a one-shot server descriptor.
Source and package
- Qualified name
-
LibTmux. Option - Module
- LibTmux
- Package
- libtmux
- Source
- lib/libtmux/option.ex
-
Description
Choose the server, a global option set or an exact session, window or pane reference. Built-in names, aliases, scopes and array keys use the connected daemon's table in
LibTmux.Settings. A targeted command has the same incarnation check and check/use race as other one-shot actions. Keep the native profile and option commands unaliased for the operation.
Members6 members
- get_option/0: get
_option () :: timeout_option () | {:mode, :local | :effective | :inherited} typealias Read locally, follow inheritance, or read the value from the parent. - get/4 function Reads one printed tmux value or returns
:unset. - key/0: key() :: String
.t () | {String.t (), 0..2_147_483_647} typealias An exact option name, or one array entry at the given index. - set/5 function Sets one option value, returning native command acknowledgement.
- target/0: target() ::
:server
| :global_session
| :global_window
| Lib
Tmux () typealias The server, a global option set or an exact observed reference..Ref .t - timeout_option/0: timeout
_option () :: {:timeout, 1..600_000} typealias One budget for identity, metadata selection and the native command.