# LibTmux.Operation.forget!/2

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/66b9b1c3f3f3186428abdfda2c76f5cf87446710/lib/libtmux/operation.ex#L196
- **Page:** https://libtmux.org/en/elixir/latest/reference/libtmux-operation-forget-bang-2/

```
forget!(operation, options \\ [])
@spec forget!(t(), [option()]) :: :ok
```

Forgets the retained record or raises the same structured error.

See the [worked example](advanced-execution.html).

## Parameters

- `operation` (`t()`)
- `options` (`[option()]`)
