# format_cb_cursor_shape

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

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

## Parameters

- `ft` (`struct format_tree *`)

## Calls

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

## Referenced declarations

- [`screen.cstyle`](/en/tmux/latest/reference/c-struct-screen-cstyle/) (attribute)
- [`format_tree`](/en/tmux/latest/reference/c-struct-format_tree/) (struct)
- [`window_pane.screen`](/en/tmux/latest/reference/c-struct-window_pane-screen/) (attribute)
- [`SCREEN_CURSOR_BAR`](/en/tmux/latest/reference/c-enum-screen_cursor_style-screen_cursor_bar/) (constant)
- [`SCREEN_CURSOR_BLOCK`](/en/tmux/latest/reference/c-enum-screen_cursor_style-screen_cursor_block/) (constant)
- [`SCREEN_CURSOR_UNDERLINE`](/en/tmux/latest/reference/c-enum-screen_cursor_style-screen_cursor_underline/) (constant)
- [`format_tree.wp`](/en/tmux/latest/reference/c-struct-format_tree-wp/) (attribute)
