# LibTmux.Options

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Options.hs
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-options/

Discover options and hooks from tmux's released option tables.
 Use [`serverCapabilities`](/en/haskell/latest/reference/libtmux-server-v-servercapabilities/) for the connected daemon.

## Members

### Common operations

- [`knownHooks`](/en/haskell/latest/reference/libtmux-options-v-knownhooks/) (function): List the known hooks by event name, with the same version selection as
 :obj:`knownOptions <LibTmux.Options#v:knownOptions>`.
- [`knownOptions`](/en/haskell/latest/reference/libtmux-options-v-knownoptions/) (function): List built-in options by name. The catalogue uses the latest pinned
 release at or below the daemon's version, from 3.3a through 3.8.
- [`lookupHook`](/en/haskell/latest/reference/libtmux-options-v-lookuphook/) (function): Look up the event's canonical name. Removed or unknown hooks are absent.
- [`lookupOption`](/en/haskell/latest/reference/libtmux-options-v-lookupoption/) (function): Look up a canonical built-in option name in the selected catalogue.

### Other members

- [`HookInfo`](/en/haskell/latest/reference/libtmux-options-t-hookinfo/) (data type): An event with native command-array storage and its permitted scopes.
- [`OptionError`](/en/haskell/latest/reference/libtmux-options-t-optionerror/) (data type): Refusal before an option or hook command is admitted.
- [`OptionInfo`](/en/haskell/latest/reference/libtmux-options-t-optioninfo/) (data type): The definition in the selected release. :obj:`optionSince <LibTmux.Options#v:OptionInfo.optionSince>` is the first
 qualified release of the current availability period.
- [`OptionKind`](/en/haskell/latest/reference/libtmux-options-t-optionkind/) (data type): The option's native value type. Text stored as a style or theme colour
 uses its own kind, preserving the native flags.
- [`OptionLookup`](/en/haskell/latest/reference/libtmux-options-t-optionlookup/) (data type): Read the selected store, or follow its native inheritance chain.
- [`OptionScope`](/en/haskell/latest/reference/libtmux-options-t-optionscope/) (data type): The scope declared by tmux's option table.
- [`OptionShape`](/en/haskell/latest/reference/libtmux-options-t-optionshape/) (data type): An option holds one value or a keyed collection.
- [`OptionTarget`](/en/haskell/latest/reference/libtmux-options-t-optiontarget/) (data type): A store selected explicitly for option and hook operations. A window's
 options belong to the physical window and are shared by all of its links.
 There is no global pane store. Hooks do not use :obj:`ServerOptions <LibTmux.Options#v:ServerOptions>`.
- [`OptionValue`](/en/haskell/latest/reference/libtmux-options-t-optionvalue/) (data type): A scalar value checked against its native definition. Strings are
 literal bytes. Keys, colours, styles and commands use tmux spelling.
 Replies contain the spelling tmux reports, which may normalize supplied
 values. Read values omit a Show instance to avoid logging stored strings.

## Referenced by

- [`LibTmux`](/en/haskell/latest/reference/libtmux/) (module)

## Guides

Pages that discuss `LibTmux.Options`.

- [Implementation status](/en/haskell/latest/guides/status/)
