# LibTmux.TmuxHookEntry

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Hooks/TmuxHooks.cs#L13
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxhookentry/

One command a hook runs, and where it sits in the order.

The command is kept as tmux prints it. tmux normalises what it is given
once, on the way in, and prints the result unchanged from then on, so the
printed text can be handed straight back to <c>set-hook</c>.

## Members

- `TmuxHookEntry` (method) — Initializes one hook entry.
- `Index` (property) — Gets where the command sits in the hook's order.
- `Command` (property) — Gets the tmux command, as tmux prints it.
