# libtmux::parse_lookup

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/legacy_lookup.hpp#L55
- **Page:** https://libtmux.org/reference/cxx/libtmux-parse_lookup/

```
libtmux::parse_lookup(typename Entity, term: std::string_view, fields: std::span< const StringFieldHandle< Entity > >) -> typename Entity
```

Parse one `field[__lookup]=value` term against a caller-supplied field table.

The value is taken verbatim after the first `=`, so a value containing `=` or `__` survives unchanged; only the key is split.
