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

class libtmux-dotnet

SetHooksRequest

Describes setting several entries of one hook.

Source and package
Qualified name
LibTmux.SetHooksRequest
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Requests/SetHooksRequest.cs
class LibTmux.SetHooksRequest

Description

A tmux hook is an array, and the indices decide the order its commands run in. Entries are written sequentially in index order, without a transaction. The hook may fire between writes, and failure leaves earlier writes applied.

Properties5

SetHooksRequest properties
NameTypeDescription
ClearExisting bool Gets whether entries already there are removed first.
Global bool Gets whether the global table is set instead of the local one.
Name string Gets the hook name, without an index.
Scope OptionScope? Gets the scope to set in, or null for the owner's own.
Values IReadOnlyDictionary<int, string> Gets the command to place at each index.

Members1 members

  • SetHooksRequest Initializes a request to set several entries of one hook.
Esc
Search in

Type to search.

Reference previewOpen reference