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

Pane.Hooks

Gets the hooks of this pane.

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

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 9 other ports mapped

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

Read a pane's hooks in each port
PortAPIDiffers from C#
C# LibTmux.Pane.Hooks
Gets the hooks of this pane.
This page
Python libtmux.Pane.show_hooks
Return a dict of hooks for the target.
None recorded in the model
Ruby LibTmux::Pane#hooks
Behavior: Options and hooks.
None recorded in the model
Lua libtmux.Pane:list_hooks None recorded in the model
TypeScript pane.Pane.showHooks
Read hooks set on this pane itself.
None recorded in the model
Go tmux.Pane.Hooks
Hooks returns a freshly decoded, caller-owned view of known hooks at this exact pane target, including inherited values. The receiver's exact linked session context controls tmux format evaluation. A read failure is returned rather than answered with zero values.
None recorded in the model
Java io.github.libtmux.Pane.hooks
This pane's own hooks.
None recorded in the model
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.
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 Rust equivalent.

no whole-table read; Pane.hook reads one

No C++ equivalent.

no equivalent on Pane

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

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