Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

class libtmux-dotnet latest

TmuxHooks

Namespace LibTmux.TmuxHooks LibTmux

The hooks of one server, session, window, or pane.

View as Markdown

Source and package
Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Hooks/TmuxHooks.cs
class LibTmux.TmuxHooks
class [source]

Description#

Every hook is an array, even with one entry, so a hook is read as a name and a run of indexed commands rather than as a single value.

Members6 members#

Common operations4 members#

  • GetAllAsync method Reads every hook in the scope.
  • RunAsync method Runs a hook's commands now, without waiting for it to fire.
  • SetAsync method Sets one hook entry.
  • UnsetAsync method Removes a hook.

Other members2 members#

  • GetAsync method Reads one hook.
  • Scope property Gets the scope these hooks are read and written in by default.
Esc

Type to search.