Window.Hooks
Gets the hooks of this window.
Source and package
- Qualified name
-
LibTmux .Window. Hooks - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.Scopes.cs
tmux hooks
task materialEvents that run tmux commands, with the scope each hook belongs to and where tmux fires it.
In other ports
task equivalence 9 other ports mappedSource-verified mappings for Read a window's hooks. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Gets the hooks of this window. | This page |
| Python | libtmux Return a dict of hooks for the target. | None recorded in the model |
| Ruby | Lib Behavior: Options and hooks. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| TypeScript | window Read hooks set on this window itself. | None recorded in the model |
| Go | tmux Hooks returns a freshly decoded, caller-owned view of known hooks at this exact window target, including inherited values. The receiver's exact linked session context controls tmux format evaluation. A read failure is returned rather than answered with zero values. | None recorded in the model |
| Java | io This window's own hooks, which every link to it shares. | None recorded in the model |
| Swift | Server Hooks tmux has a command for. | async |
| OCaml | Libtmux Capture locally configured built-in hooks. Command values are tmux's printed representation, retained as data. | Pass the corresponding explicit Options scope; captured tables preserve their source and inheritance policy. |
| Raku | Lib Read local hook entries; each value is native printed command source. | Use the explicitly scoped hooks facade. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no whole-table read; Window.hook reads one
no equivalent on Window
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.