On this page
server.Server.showHooks
- Module
- server
- Declared in
- Server
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/server.ts
-
Every global hook tmux currently reports.
A hook is an array of commands, keyed by the name
setHooktakes, so what was set reads back under the name it was set with. tmux prints each element asname[0], which composes with neither of the writers.Examples
const hooks = await server.showHooks(); hooks.get("session-created")?.[0];
0 declared, 0 inherited