Session.set_hook
Set hook for tmux target.
Source and package
- Qualified name
-
libtmux.Session .set _hook - Module
- libtmux
- Declared in
- Session
- Package
- libtmux
- Source
- src/libtmux/hooks.py
- Other languages
- PowerShell Julia Ruby LuaTypeScriptRustGo Java C# C++Swift Kotlin Scala F#
-
Inherited from
libtmux.hooks.HooksMixinDescription#
- Parameters
- Raises
tmux catalog Hooks
In other ports Bind a command to a session hook
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
- TypeScript
- Rust
- Go
- Java reached through
Session.hooks, whoseHookscarries the write - C# reached through
Session.Hooks, whoseTmuxHookscarries the write - C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.