tmux.Session.SetHook
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/hook_runtime.go
- Other languages
- Python Ruby LuaTypeScriptRust Java .NET C++Swift
-
SetHook stores a session hook at this stable session target without refreshing models. Completed failures are secret-safe option errors; cancellation does not prove tmux did not accept the mutation.
In other ports Bind a command to a session hook
- Python
libtmux.Session.set_hook - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Session:set_hook - TypeScript
session.Session.setHook - Rust
session.Session.set_hook - Java reached through
Session.hooks, whoseHookscarries the write - .NET reached through
Session.Hooks, whoseTmuxHookscarries the write - C++
libtmux::Session::set_hook - Swift
Server.setHook(_:to:at:in:)
- Python
0 declared, 0 inherited