tmuxtmuxC source reference

Choose documentation 1

latest

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

attribute tmux

cmd_set_hook_entry

Source
Qualified name
cmd_set_hook_entry
Source
cmd-set-option.c
const struct cmd_entry cmd_set_hook_entry = { .name = "set-hook", .alias = NULL, .args = { "agpRt:uw", 1, 2, cmd_set_option_args_parse }, .usage = "[-agpRuw] " "[-t target-pane]" " hook [command]", .target = { 't', CMD_FIND_PANE, 0x40 }, .flags = 0x4 , .exec = cmd_set_option_exec };

tmux command set-hook

Other function references

references 2

Functions cmd_set_hook_entry takes as a pointer or callback. It does not call them.

Referenced by

references 1

Declarations that take cmd_set_hook_entry as a pointer or callback: a reference, not a call.

Referenced declarations

type references 3

Types and data cmd_set_hook_entry names in its declaration.

In libtmux

These methods send set-hook.

Library methods that send tmux set-hook, by scope
Language Methods
Python HooksMixin.run_hook HooksMixin.set_hook HooksMixin.set_hooks HooksMixin.unset_hook Pane.run_hook Pane.set_hook Pane.set_hooks Pane.unset_hook Server.run_hook Server.set_hook Server.set_hooks Server.unset_hook Session.run_hook Session.set_hook Session.set_hooks Session.unset_hook Window.run_hook Window.set_hook Window.set_hooks Window.unset_hook
Ruby Hooks#run Hooks#set Hooks#unset
Lua Pane:run_hook Pane:set_hook Pane:unset_hook Server:set_hook Server:unset_hook Session:run_hook Session:set_hook Session:unset_hook Window:run_hook Window:set_hook Window:unset_hook
PowerShell Set-TmuxHook
Julia set_hook unset_hook
Erlang run/2 unset/2
Haskell setHook setHookWith unsetHook unsetHookWith
Common Lisp client.set-hook client.unset-hook
TypeScript Pane.setHook Pane.unsetHook Server.setHook Server.unsetHook Session.setHook Session.unsetHook Window.setHook Window.unsetHook
Rust Pane.set_hook Pane.unset_hook Server.set_hook Server.set_hooks Server.unset_hook Session.set_hook Session.set_hooks Session.unset_hook Window.set_hook Window.set_hooks Window.unset_hook
Go GlobalSessionScope.AppendHook GlobalSessionScope.SetHook GlobalSessionScope.SetHooks GlobalSessionScope.UnsetHook GlobalWindowScope.AppendHook GlobalWindowScope.SetHook GlobalWindowScope.SetHooks GlobalWindowScope.UnsetHook Pane.AppendHook Pane.SetHook Pane.SetHooks Pane.UnsetHook Session.AppendHook Session.SetHook Session.SetHooks Session.UnsetHook Window.AppendHook Window.SetHook Window.SetHooks Window.UnsetHook
Java Hooks.append Hooks.run Hooks.set Hooks.unset
Clojure append-hook! set-hook! unset-hook!
Kotlin Hooks.`set` Hooks.append Hooks.run Hooks.unset
Scala Hooks.append Hooks.run Hooks.set Hooks.unset
C# TmuxHooks.SetAsync TmuxHooks.UnsetAsync
C++ Server::set_global_hook Session::set_hook
Swift Server.runHook(_:in:) Server.setHook(_:to:at:in:) Server.unsetHook(_:in:)
OCaml remove_hook remove_hook run_hook run_hook set_hook set_hook
Perl Async::Server::set_hook LibTmux::Server::set_hook
Raku Hooks.append Hooks.run Hooks.set Hooks.unset

No method in Elixir or F# sends this command itself.

Esc

Type to search.

Reference previewOpen reference