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

TmuxHook.index

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

View as Markdown

Declared in
TmuxHook
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
index : let index: Int
property [source]
property [source]
index

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

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.

0 declared, 0 inherited

Esc

Type to search.