# hooks.ReplaceMode

- **Module:** hooks
- **Package:** libtmux
- **Language:** Rust
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/hooks.rs#L208
- **Page:** https://libtmux.org/reference/rs/hooks-replacemode/

## Members

- `Replace` (constant) — Clear the hook first, so only the entries written remain.
- `Merge` (constant) — Leave entries at indices the write does not name.
