# tmux.CopyModeRequest.SourcePane

- **Module:** tmux.CopyModeRequest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/pane_modes.go#L32
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-copymoderequest-sourcepane/

SourcePane selects a stable pane whose content is copied while the receiver remains the pane placed in copy mode. Zero uses the receiver. A nonzero value is validated by the library and resolved by tmux even when Cancel is set; a stale or nonexistent pane can prevent cancellation.
