Core LibraryunreleasedAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function LibTmux.jl

get_hook

Source and package
Qualified name
LibTmux.get_hook
Module
LibTmux
Package
LibTmux
Source
src/configuration.jl

Methods

get_hook( connection::LibTmux.ControlConnection, scope, name::AbstractString; inherit, kwargs..., )[source]

Read the complete sparse hook array in tmux order without executing it. Return nothing for no local override, or an empty vector for a local empty array. Inherited entries carry inherited=true. Canonical command bodies and scope semantics follow the subprocess method; named replies and explicit parent lookups avoid raw broad listings and preserve empty-array masking.

get_hook(connection::ControlConnection, scope, name; inherit=false, kwargs...)

get_hook( server::LibTmux.Server, scope, name::AbstractString; inherit, kwargs..., )[source]

Return sparse HookCommand entries in tmux order. nothing means no local override; an empty vector means an explicitly empty command array. With inherit=true, include inherited hooks. Scopes follow get_option, excluding :server; only built-in hooks supported by the connected tmux are accepted. Command bodies use tmux's canonical executable grammar, not the original quoting or whitespace. This read does not execute the returned commands.

get_hook(server, scope, name; inherit=false, kwargs...)

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.get_hook.

tmux command

task material

The tmux commands behind get_hook.

tmux C API

task material

The C declarations in tmux that implement these commands.

Guides

task material

Pages that discuss get_hook.

Esc
Search in

Type to search.

Reference previewOpen reference