# tmux.CaptureLine

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_capture.go#L62
- **Page:** https://libtmux.org/reference/go/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.
