# tmux.SetHooksOptions

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/hook_runtime.go#L13
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-sethooksoptions/

SetHooksOptions controls a bulk hook replacement. Its zero value preserves existing indices before applying the supplied sparse values.

## Members

- `ClearExisting` (attribute): ClearExisting unsets every existing index before applying Values.
