# format_cb_cursor_colour

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1217
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-format-c-format_cb_cursor_colour/

```c
static void * format_cb_cursor_colour(struct format_tree *ft)
```

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1225)

## Other function references

- [`colour_tostring`](/en/tmux/3.7c/reference/c-function-colour_tostring/) (function)

## Referenced declarations

- [`screen.ccolour`](/en/tmux/3.7c/reference/c-struct-screen-ccolour/) (attribute)
- [`screen.default_ccolour`](/en/tmux/3.7c/reference/c-struct-screen-default_ccolour/) (attribute)
- [`format_tree`](/en/tmux/3.7c/reference/c-struct-format_tree/) (struct)
- [`window_pane.screen`](/en/tmux/3.7c/reference/c-struct-window_pane-screen/) (attribute)
- [`format_tree.wp`](/en/tmux/3.7c/reference/c-struct-format_tree-wp/) (attribute)
