# screen_set_cursor_colour

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

```c
void screen_set_cursor_colour(struct screen *s, int colour)
```

## Parameters

- `s` (`struct screen *`)
- `colour` (`int`)

## Called by

- [`input_osc_112`](/en/tmux/latest/reference/c-function-input-c-input_osc_112/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3168)
- [`input_osc_12`](/en/tmux/latest/reference/c-function-input-c-input_osc_12/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3160)

## Referenced declarations

- [`screen.ccolour`](/en/tmux/latest/reference/c-struct-screen-ccolour/) (attribute)
- [`screen`](/en/tmux/latest/reference/c-struct-screen/) (struct)
