Window.unsetHook
Remove every command bound to a window-scoped hook.
Source and package
-
Examples#
await window.unsetHook("window-renamed");
tmux command#
The tmux commands behind unsetHook.
tmux C API#
The C declarations in tmux that implement these commands.
tmux hooks#
Events that run tmux commands, with the scope each hook belongs to and where tmux fires it.
In other ports#
Unbind a window hook
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Rust | window |
| Go | tmux |
| Java | reached through Window.hooks, whose Hooks carries the write |
| C# | reached through Window.Hooks, whose TmuxHooks carries the write |
| C++ | no equivalent on Window |
| Swift | Server |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Kotlin, Scala or F#.