Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

module libtmux-elixir

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
LibTmux.Option

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 list-commands, if-shell, show-hooks, 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 | LibTmux.Ref.t() typealias The server, a global option set or an exact observed reference.
  • timeout_option/0: timeout_option() :: {:timeout, 1..600_000} typealias One budget for identity, metadata selection and the native command.
Esc
Search in

Type to search.

Reference previewOpen reference