# cmd_capture_pane_hyperlinks

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L111
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_hyperlinks/

```c
static char * cmd_capture_pane_hyperlinks(struct grid *, struct screen *, u_int, u_int *, u_int *, size_t *)
```

## Parameters

- `gd` (`struct grid *`)
- `s` (`struct screen *`)
- `py` (`u_int`)
- `links` (`u_int *`)
- `nlinks` (`u_int *`)
- `len` (`size_t *`)

## Called by

- [`cmd_capture_pane_history`](/en/tmux/3.7c/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_history/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L249)

## Calls

- [`cmd_capture_pane_append`](/en/tmux/3.7c/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_append/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L144)
- [`grid_get_cell`](/en/tmux/3.7c/reference/c-function-grid_get_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L126)
- [`grid_peek_line`](/en/tmux/3.7c/reference/c-function-grid_peek_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L114)
- [`hyperlinks_get`](/en/tmux/3.7c/reference/c-function-hyperlinks_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L136)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L117)

## Referenced declarations

- [`grid_line.cellused`](/en/tmux/3.7c/reference/c-struct-grid_line-cellused/) (attribute)
- [`grid_line.flags`](/en/tmux/3.7c/reference/c-struct-grid_line-flags/) (attribute)
- [`grid`](/en/tmux/3.7c/reference/c-struct-grid/) (struct)
- [`GRID_LINE_HYPERLINK`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_line_hyperlink/) (constant)
- [`screen.hyperlinks`](/en/tmux/3.7c/reference/c-struct-screen-hyperlinks/) (attribute)
- [`grid_cell.link`](/en/tmux/3.7c/reference/c-struct-grid_cell-link/) (attribute)
- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`grid.sx`](/en/tmux/3.7c/reference/c-struct-grid-sx/) (attribute)
