# tmux.CaptureLine

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/pane_capture.go#L63
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-captureline/

```
tmux.CaptureLine(line: int) -> CapturePosition
```

CaptureLine returns the canonical tmux representation of a capture line. Zero is the first visible line; negative values address history.
