Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-scala

Hooks

Read and update tmux hooks through the owning server.

Source and package
Qualified name
io.github.libtmux.scaladsl.cats.Hooks
Package
io.github.libtmux.scaladsl.cats
Distribution
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/Subsystems.scala
final class Hooks[F[_]]

Description

Operations run in the effect type F. Use asJava to access the Java hook API directly.

Type parameters

Members10 members

  • all method Every hook at this scope, keyed by event, each with its commands in the order tmux runs them.
  • append method As String), with the command as words.
  • asJava method The Java handle this wraps: the one escape hatch, as on every handle.
  • equals method
  • hashCode method
  • run method Runs what is bound to an event now, without waiting for the event.
  • server property
  • set method Binds a tmux command to an event at this scope, replacing anything already bound to it.
  • toString method
  • unset method Removes everything bound to an event at this scope.

tmux hooks

task material

Events that run tmux commands, with the scope each hook belongs to and where tmux fires it.

Esc
Search in

Type to search.

Reference previewOpen reference