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

Settings

Lists and looks up built-in tmux options and hooks by release.

Source and package
Qualified name
LibTmux.Settings
Module
LibTmux
Package
libtmux
Source
lib/libtmux/settings.ex
LibTmux.Settings

Description

The catalogues come from the pinned upstream option tables returned by sources/0. Omit the release to use the newest table. Lists and lookups perform no I/O. To describe a connected daemon, choose its reported release.

Members10 members

Common operations2

  • fetch_hook/2 function Looks up a built-in hook by exact name.
  • fetch_option/2 function Looks up a built-in option by exact name or an upstream alias.

Other members8

  • hook/0: hook() :: %{ name: String.t(), scopes: [scope()], kind: :after_command | :event } typealias A hook name and the scopes where its command array can be set.
  • hooks/1 function Lists built-in hooks in name order.
  • option/0: option() :: %{ name: String.t(), scopes: [scope()], type: value_type(), array?: boolean(), choices: [String.t()] } typealias A canonical option name, its scopes, and its value shape.
  • options/1 function Lists built-in options in canonical name order.
  • scope/0: scope() :: :server | :session | :window | :pane typealias A tmux option or hook scope.
  • source/0: source() :: %{ release: String.t(), revision: String.t(), sha256: String.t() } typealias The upstream revision and SHA-256 of its option table.
  • sources/0 function Returns the pinned sources in release order.
  • value_type/0: value_type() :: :string | :number | :flag | :choice | :colour | :style | :key | :command typealias A built-in option's value category.
Esc
Search in

Type to search.

Reference previewOpen reference