# screen_set_default_cursor

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

```c
void screen_set_default_cursor(struct screen *s, struct options *oo)
```

## Parameters

- `s` (`struct screen *`)
- `oo` (`struct options *`)

## Called by

- [`popup_display`](/en/tmux/latest/reference/c-function-popup_display/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L836)
- [`window_copy_common_init`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_common_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L457)
- [`window_pane_default_cursor`](/en/tmux/latest/reference/c-function-window_pane_default_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1883)

## Calls

- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L195)
- [`screen_set_cursor_style`](/en/tmux/latest/reference/c-function-screen_set_cursor_style/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L200)

## Referenced declarations

- [`screen.default_ccolour`](/en/tmux/latest/reference/c-struct-screen-default_ccolour/) (attribute)
- [`screen.default_cstyle`](/en/tmux/latest/reference/c-struct-screen-default_cstyle/) (attribute)
- [`screen.default_mode`](/en/tmux/latest/reference/c-struct-screen-default_mode/) (attribute)
- [`options`](/en/tmux/latest/reference/c-struct-options/) (struct)
- [`screen`](/en/tmux/latest/reference/c-struct-screen/) (struct)
