# tty_hyperlink

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2592
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-tty-c-tty_hyperlink/

```c
static void tty_hyperlink(struct tty *tty, const struct grid_cell *gc, struct hyperlinks *hl)
```

## Parameters

- `tty` (`struct tty *`)
- `gc` (`const struct grid_cell *`)
- `hl` (`struct hyperlinks *`)

## Called by

- [`tty_attributes`](/en/tmux/latest/reference/c-function-tty_attributes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2709)

## Calls

- [`tty_putcode_ss`](/en/tmux/latest/reference/c-function-tty_putcode_ss/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2605)

## Other function references

- [`hyperlinks_get`](/en/tmux/latest/reference/c-function-hyperlinks_get/) (function)

## Referenced declarations

- [`tty.cell`](/en/tmux/latest/reference/c-struct-tty-cell/) (attribute)
- [`grid_cell`](/en/tmux/latest/reference/c-struct-grid_cell/) (struct)
- [`hyperlinks`](/en/tmux/latest/reference/c-struct-hyperlinks/) (struct)
- [`grid_cell.link`](/en/tmux/latest/reference/c-struct-grid_cell-link/) (attribute)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`TTYC_HLS`](/en/tmux/latest/reference/c-enum-tty_code_code-ttyc_hls/) (constant)
