You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A caller cannot set or read a tmux hook with a named function. No module under lib/ defines a hook call, so the only route is a raw set-hook or show-hooks command through LibTmux.Server.run/3, and a control connection accepts no arbitrary command.
Motivation
The docs treat hooks only as host configuration that the managed control lane must find absent: the ownership guide requires "no executable effective hooks" and says the library never silently disables hooks, and the implementation notes name hooks as future work. A caller that wants a hook on pane death or window close builds the set-hook arguments by hand and runs them through Server.run/3.
The sibling ports offer it: Python has set_hook and show_hooks (hooks.py), Go has SetHook on sessions, windows and panes (hook_runtime.go) and Rust has Pane::set_hook (pane/settings.rs).
Activity