method libtmux-kotlin latest
Hooks.`set`
Binds a tmux command to an event at this scope, replacing anything already bound to it.
Source and package
- public Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation fun Hooks.`set`(event: String, command: String): Unitpublic Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation fun Hooks.`set`(event: String, command: List<String>): Unit