# window_copy_pagedown

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

```c
static int window_copy_pagedown(struct window_mode_entry *, int, int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `half_page` (`int`)
- `scroll_exit` (`int`)

## Called by

- [`window_copy_cmd_halfpage_down`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_halfpage_down/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1143)
- [`window_copy_cmd_halfpage_down_and_cancel`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_halfpage_down_and_cancel/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1157)
- [`window_copy_cmd_page_down`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_page_down/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1576)
- [`window_copy_cmd_page_down_and_cancel`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_page_down_and_cancel/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1589)

## Calls

- [`window_copy_cursor_end_of_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L648)
- [`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#L618)
- [`window_copy_redraw_screen`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_redraw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L656)
- [`window_copy_search_marks`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L654)
- [`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#L655)

## 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.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.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_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`window_copy_mode_data.searchmark`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-searchmark/) (attribute)
- [`window_copy_mode_data.searchregex`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-searchregex/) (attribute)
- [`screen.sel`](/en/tmux/3.2a/reference/c-struct-screen-sel/) (attribute)
- [`window_copy_mode_data.timeout`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-timeout/) (attribute)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
