# window_copy_cursor_down

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4500
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_down/

```c
static void window_copy_cursor_down(struct window_mode_entry *, int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `scroll_only` (`int`)

## Called by

- [`window_copy_acquire_cursor_down`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_acquire_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L5069)
- [`window_copy_cmd_copy_end_of_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_copy_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L977)
- [`window_copy_cmd_copy_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_copy_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1010)
- [`window_copy_cmd_cursor_down`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1071)
- [`window_copy_cmd_cursor_down_and_cancel`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_cursor_down_and_cancel/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1084)
- [`window_copy_cmd_scroll_down`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_scroll_down/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1686)
- [`window_copy_cmd_scroll_down_and_cancel`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_scroll_down_and_cancel/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1700)
- [`window_copy_cmd_select_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_select_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1773)
- [`window_copy_drag_update`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_drag_update/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4974)
- [`window_copy_scroll_timer`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_scroll_timer/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L322)

## Calls

- [`window_copy_find_length`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_find_length/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4509)
- [`window_copy_other_end`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_other_end/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4516)
- [`window_copy_redraw_lines`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_redraw_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4523)
- [`window_copy_scroll_up`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_scroll_up/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4521)
- [`window_copy_update_cursor`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_update_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4526)
- [`window_copy_update_selection`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4530)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_copy_mode_data.endsely`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-endsely/) (attribute)
- [`window_copy_mode_data.lastcx`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-lastcx/) (attribute)
- [`window_copy_mode_data.lastsx`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-lastsx/) (attribute)
- [`window_copy_mode_data.lineflag`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-lineflag/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.rectflag`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-rectflag/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_hsize`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_x`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen.sel`](/en/tmux/3.2a/reference/c-struct-screen-sel/) (attribute)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
