Core Library0.xAPI reference

Choose documentation 3

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

property libtmux-dotnet

Server.Hooks

Gets the hooks of this server.

Source and package
Qualified name
LibTmux.Server.Hooks
Namespace
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Scopes.cs

Description

tmux has no server hook table of its own: the global one is it, which is why these are reached with the global flag rather than a server flag.

tmux hooks

task material

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

In other ports

task equivalence 11 other ports mapped

Source-verified mappings for Read the server's global hooks. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Read the server's global hooks in each port
PortAPIDiffers from C#
C# LibTmux.Server.Hooks
Gets the hooks of this server.
This page
Python libtmux.Server.show_hooks
Return a dict of hooks for the target.
None recorded in the model
Ruby LibTmux::Server#hooks
Behavior: Options and hooks.
None recorded in the model
Lua libtmux.Server:list_hooks None recorded in the model
TypeScript server.Server.showHooks
Every global hook tmux currently reports.
None recorded in the model
Rust server.Server.hooks
Read every hook set at this server.
async
Java io.github.libtmux.Server.hooks
The global hooks every session inherits.
None recorded in the model
C++ libtmux::Server::hooks readonly
Swift Server.hooks(_:)
Hooks tmux has a command for.
async
OCaml Libtmux_unix.Client.capture_hooks
Capture locally configured built-in hooks. Command values are tmux's printed representation, retained as data.
Pass the corresponding explicit Options scope; captured tables preserve their source and inheritance policy.
Perl LibTmux::Server::show_hooks
show_hooks(target => session_id?, global => boolean?).
Use global => true; raw bytes preserve sparse hook indexes and tmux quoting.
Raku LibTmux::Configuration::Hooks.list
Read local hook entries; each value is native printed command source.
Use the explicitly scoped hooks facade.
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Go equivalent.

no equivalent on Server

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference