# LibTmux.TmuxHookEntry

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Hooks/TmuxHooks.cs#L13
- **Page:** https://libtmux.org/en/csharp/latest/reference/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

### Other members

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