# screen_resize_cursor

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

```c
void screen_resize_cursor(struct screen *s, u_int sx, u_int sy, int reflow, int eat_empty, int cursor)
```

## Parameters

- `s` (`struct screen *`)
- `sx` (`u_int`)
- `sy` (`u_int`)
- `reflow` (`int`)
- `eat_empty` (`int`)
- `cursor` (`int`)

## Called by

- [`screen_resize`](/en/tmux/3.7c/reference/c-function-screen_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L390)
- [`window_copy_resize`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1086)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L346)
- [`screen_reflow`](/en/tmux/3.7c/reference/c-function-screen-c-screen_reflow/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L369)
- [`screen_reset_tabs`](/en/tmux/3.7c/reference/c-function-screen_reset_tabs/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L357)
- [`screen_resize_y`](/en/tmux/3.7c/reference/c-function-screen-c-screen_resize_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L362)
- [`screen_write_free_list`](/en/tmux/3.7c/reference/c-function-screen_write_free_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L344)
- [`screen_write_make_list`](/en/tmux/3.7c/reference/c-function-screen_write_make_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L383)

## Referenced by

- [`window_copy_clone_screen`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_clone_screen/) (function)

## Referenced declarations

- [`screen.cx`](/en/tmux/3.7c/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.7c/reference/c-struct-screen-cy/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/3.7c/reference/c-struct-grid-hsize/) (attribute)
- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`screen_size_x`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`grid.sx`](/en/tmux/3.7c/reference/c-struct-grid-sx/) (attribute)
- [`screen.write_list`](/en/tmux/3.7c/reference/c-struct-screen-write_list/) (attribute)
