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.

property libtmux-swift latest

TmuxHook.index

Which slot of the name's array holds this command.

Source and package
Qualified name
TmuxHook.index
Declared in
TmuxHook
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
index : let index: Int

Description#

tmux stores an array per hook name and labels every bound command with its position, filling [0] when a caller does not choose one. So a reported hook always has an index, and reading one costs no unwrapping.

Esc

Type to search.

Reference previewOpen reference