module libtmux-haskell
LibTmux.Options
Discover options and hooks from tmux's released option tables.
Use serverCapabilities for the connected daemon.
Source and package
- Qualified name
-
LibTmux. Options - Package
- libtmux-haskell
- Source
- src/LibTmux/Options.hs
- LibTmux.Options
Members13 members
Common operations4
- knownHooks function List the known hooks by event name, with the same version selection as
knownOptions. - 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 function Look up the event's canonical name. Removed or unknown hooks are absent.
- lookupOption function Look up a canonical built-in option name in the selected catalogue.
Other members9
- HookInfo data type An event with native command-array storage and its permitted scopes.
- OptionError data type Refusal before an option or hook command is admitted.
- OptionInfo data type The definition in the selected release.
optionSinceis the first qualified release of the current availability period. - 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 data type Read the selected store, or follow its native inheritance chain.
- OptionScope data type The scope declared by tmux's option table.
- OptionShape data type An option holds one value or a keyed collection.
- 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
ServerOptions. - 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
references 1Declarations that take LibTmux.Options as a pointer or callback: a reference, not a call.
- LibTmux module
Guides
task materialPages that discuss LibTmux.Options.