libtmux::Session::set_hook
- Module
- libtmux
- Declared in
- Session
- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Python Ruby LuaTypeScriptRustGo Java .NET Swift
- set_hook ( name : std::string_view , command : std::string_view ) expected< void, CommandFailure >
-
Discussed in Options and hooks · Options and hooks
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 - Go
tmux.Session.SetHook - Java reached through
Session.hooks, whoseHookscarries the write - .NET reached through
Session.Hooks, whoseTmuxHookscarries the write - Swift
Server.setHook(_:to:at:in:)
- Python
0 declared, 0 inherited