# libtmux::Snapshot::from_recording

- **Module:** libtmux::Snapshot
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/snapshot.hpp#L179
- **Page:** https://libtmux.org/reference/cxx/libtmux-snapshot-from_recording/

```
libtmux::Snapshot::from_recording(fields: std::span< const std::string_view >, output: std::string) -> std::shared_ptr< const Snapshot >
```

Output that did not come from a live server: a recording, a fixture, a test.

Entities read and filter exactly as they would from a listing, and anything that would run a command reports that there is no connection. Returns null if a row does not match the fields it claims to have.
