# control.PaneOutput.next_chunk

- **Module:** control.PaneOutput
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/control.rs#L1258
- **Page:** https://libtmux.org/reference/rs/control-paneoutput-next_chunk/

```
control.PaneOutput.next_chunk(mut) -> Option<Vec<u8>>
```

Return the next chunk this pane wrote, or `None` once it stops.

A chunk is what tmux chose to report at once, which is not a line and
not a fixed size. Callers wanting lines should buffer.
