Core Library0.xAPI Reference

Choose documentation 3

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.

struct libtmux-go latest

PaneHookValues

PaneHookValues is an immutable materialized view of known pane hook values; its zero value is empty and it does not refresh. Obtain it with Pane.Hooks. OptionValue.Get reports presence and OptionValue.Origin reports inheritance. Use Pane.RawHook for caller-named or undecoded values.

Source and package
Qualified name
tmux.PaneHookValues
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
struct tmux.PaneHookValues

Members7#

  • PaneDied method PaneDied returns materialized "pane-died" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • PaneExited method PaneExited returns materialized "pane-exited" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • PaneFocusIn method PaneFocusIn returns materialized "pane-focus-in" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • PaneFocusOut method PaneFocusOut returns materialized "pane-focus-out" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • PaneModeChanged method PaneModeChanged returns materialized "pane-mode-changed" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • PaneSetClipboard method PaneSetClipboard returns materialized "pane-set-clipboard" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • PaneTitleChanged method PaneTitleChanged returns materialized "pane-title-changed" as OptionValue with value type OptionValue[SparseArraystring] from pane hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.

tmux hooks#

Events that run tmux commands, with the scope each hook belongs to and where tmux fires it.

Esc

Type to search.

Reference previewOpen reference