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-scala latest

Hooks.set

Package io.github.libtmux.scaladsl.cats.Hooks.set io.github.libtmux.scaladsl.cats

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.scaladsl.cats
Declared in
Hooks
Package
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala-cats/build/generated/sources/catalog/scala/operations/GeneratedOperations.scala
Scala extension methods Adds methods callable on the receiver type without changing its definition. Language documentation [F[_]](self: Hooks[F])(using F: _root_.cats.effect.Async[F]) Scala method declarations Declares a method, with its name, parameter lists and return type. Language documentation set(event: String, command: String): F[Unit] Scala extension methods Adds methods callable on the receiver type without changing its definition. Language documentation [F[_]](self: Hooks[F])(using F: _root_.cats.effect.Async[F]) Scala method declarations Declares a method, with its name, parameter lists and return type. Language documentation set(event: String, command: Vector[String]): F[Unit]
methodoverload2 overloads [source]
Parameters
  • event ( String )

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

  • command ( Vector[String] ) (for set(event, command) [overload 2])

Esc

Type to search.