# window_copy_get_hyperlink

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L917
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window_copy_get_hyperlink/

```c
char * window_copy_get_hyperlink(struct window_pane *wp, u_int x, u_int y)
```

## Parameters

- `wp` (`struct window_pane *`)
- `x` (`u_int`)
- `y` (`u_int`)

## Called by

- [`format_cb_mouse_hyperlink`](/en/tmux/latest/reference/c-function-format-c-format_cb_mouse_hyperlink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1272)

## Calls

- [`format_grid_hyperlink`](/en/tmux/latest/reference/c-function-format_grid_hyperlink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L923)

## Referenced declarations

- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/latest/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/latest/reference/c-struct-grid-hsize/) (attribute)
- [`window_pane.modes`](/en/tmux/latest/reference/c-struct-window_pane-modes/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`window_pane.screen`](/en/tmux/latest/reference/c-struct-window_pane-screen/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
- [`window_mode_entry.wp`](/en/tmux/latest/reference/c-struct-window_mode_entry-wp/) (attribute)
