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.

class libtmux-kotlin latest

Hooks

Package io.github.libtmux.kotlin.Hooks io.github.libtmux.kotlin

Read and update hooks for the server, session, window, or pane that owns this handle.

View as Markdown

Source and package
Module
io.github.libtmux.kotlin
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Hooks.kt
public class Hooks
class [source]

Description#

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in HooksOperations.kt .

Members10 members#

Other 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.
Esc

Type to search.