Option.get/4
Reads one printed tmux value or returns :unset.
Source and package
- Qualified name
-
LibTmux .Option. get/4 - Module
- LibTmux
- Declared in
Option- Package
- libtmux
- Source
- lib/libtmux/option.ex
- get(server, target, key, options \\ []) @spec get(Lib
Tmux (), target(), key(), [ get.Server .t _option () ]) :: {:ok, :unset | {:value, binary()}} | {:error, LibTmux ()}.Error .t -
Description
The default
:localreads only the chosen scope.:effectivemay use a parent value.:inheritedreads the parent directly, even if the chosen scope has a local value. A server or global option set has no parent. An empty configured string is returned as{:value, ""}.The value has tmux's
show-options -vrepresentation. tmux 3.4 escapes some bytes, including variable-shaped dollars, in this output. An empty indexed response needs a second read to distinguish an absent entry. Conflicting observations return an option_changed error.- Parameters
-
-
options([get_option ()])Default
[]
Recorded calls
source callsThe Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Option.get/4.