# LibTmux.TmuxHookEntry.TmuxHookEntry

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Hooks/TmuxHooks.cs#L18
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxhookentry-tmuxhookentry/

```
LibTmux.TmuxHookEntry.TmuxHookEntry(index: int, command: string)
```

Initializes one hook entry.

## Parameters

- `index` (`int`): Where the command sits in the hook's order.
- `command` (`string`): The tmux command, as tmux prints it.
