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

WindowHookValues

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

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

Members11#

  • PaneDied method PaneDied returns materialized "pane-died" as OptionValue with value type OptionValue[SparseArraystring] from window 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 window 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 window 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 window 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 window 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 window 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 window hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • WindowLayoutChanged method WindowLayoutChanged returns materialized "window-layout-changed" as OptionValue with value type OptionValue[SparseArraystring] from window hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • WindowPaneChanged method WindowPaneChanged returns materialized "window-pane-changed" as OptionValue with value type OptionValue[SparseArraystring] from window hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • WindowRenamed method WindowRenamed returns materialized "window-renamed" as OptionValue with value type OptionValue[SparseArraystring] from window hook values; it does not query tmux. Available as COMMAND. Its present SparseArray value preserves assigned tmux indexes, including gaps.
  • WindowResized method WindowResized returns materialized "window-resized" as OptionValue with value type OptionValue[SparseArraystring] from window 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