# screen_set_cursor_colour

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L166
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen_set_cursor_colour/

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

## Parameters

- `s` (`struct screen *`)
- `colour` (`const char *`)

## Called by

- [`input_exit_osc`](/en/tmux/3.2a/reference/c-function-input-c-input_exit_osc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L2308)

## Calls

- [`xstrdup`](/en/tmux/3.2a/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L169)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

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