Hooks
Read and update hooks for the server, session, window, or pane that owns this handle.
Source and package
- Qualified name
-
io.github .libtmux .kotlin. Hooks - Package
- io.github.libtmux.kotlin
- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Hooks.kt
-
Description
Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in
HooksOperations.kt.
Members10 members
- `set` method Binds a tmux command to an event at this scope, replacing anything already bound to it.
- all method Every hook at this scope, keyed by event, each with its commands in the order tmux runs them.
- append method As [.append(String, String)], with the command as words.
- asJava property The Java hooks this wraps: the same object, for a Java API that takes one.
- equals method
- hashCode method
- run method Runs what is bound to an event now, without waiting for the event.
- server property
- toString method
- unset method Removes everything bound to an event at this scope.
tmux hooks
task materialEvents that run tmux commands, with the scope each hook belongs to and where tmux fires it.
Guides
task materialPages that discuss Hooks.