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

Swift API

Swift documentation

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
Other languages
Python Ruby Lua TypeScript Rust Go Java .NET C++
runHook(_:in:) ( name : String , in : HookScope ) → TmuxReply
methodasync [source]
methodasync [source]
runHook(_:in:)

Runs a hook's commands now, without waiting for what would trigger it.

Running a name nothing is bound to succeeds and does nothing.

Raises

Discussed in Options and hooks

In other ports Run a session hook's commands now
  • Python libtmux.Session.run_hook
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Session
  • Rust no equivalent on Session
  • Go tmux.Session.RunHook
  • Java no equivalent on Session
  • .NET no equivalent on Session
  • C++ no equivalent on Session
In other ports Run a window hook's commands now
  • Python libtmux.Window.run_hook
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Window
  • Rust no equivalent on Window
  • Go tmux.Window.RunHook
  • Java no equivalent on Window
  • .NET no equivalent on Window
  • C++ no equivalent on Window
In other ports Run a pane hook's commands now
  • Python libtmux.Pane.run_hook
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Pane
  • Rust no equivalent on Pane
  • Go tmux.Pane.RunHook
  • Java no equivalent on Pane
  • .NET no equivalent on Pane
  • C++ no equivalent on Pane

0 declared, 0 inherited

Esc

Type to search.