Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-kotlin latest

Hooks.`set`

Package io.github.libtmux.kotlin.Hooks.`set` io.github.libtmux.kotlin

Binds a tmux command to an event at this scope, replacing anything already bound to it.

View as Markdown

Source and package
Module
io.github.libtmux.kotlin
Declared in
Hooks
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/HooksOperations.kt
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
methodasyncoverload2 overloads [source]
Parameters
  • event ( String )

  • command ( String ) (for `set`(event, command) [overload 1])

  • command ( List<String> ) (for `set`(event, command) [overload 2])

Esc

Type to search.