# Libtmux.Environment

- **Package:** libtmux
- **Language:** OCaml
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L793
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-environment/

```ocaml
module Environment
```

## Members

### Other members

- [`entry`](/en/ocaml/latest/reference/libtmux-environment-entry/) (struct)
- [`lookup`](/en/ocaml/latest/reference/libtmux-environment-lookup/) (function): No I/O. `None` means absent from the selected table and visibility. `Removed` masks a global value; `Value ""` is an explicitly empty value. Names must be ASCII identifiers; values preserve non-NUL bytes.
- [`scope`](/en/ocaml/latest/reference/libtmux-environment-scope/) (enum)
- [`t`](/en/ocaml/latest/reference/libtmux-environment-t/) (struct): One captured environment table, in tmux order. `hidden` selects hidden variables exclusively. Session tables contain local entries, including removal markers; they do not merge the global environment.
- [`value`](/en/ocaml/latest/reference/libtmux-environment-value/) (enum)
