# window_copy_pageup

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

```c
void window_copy_pageup(struct window_pane *wp, int half_page)
```

## Parameters

- `wp` (`struct window_pane *`)
- `half_page` (`int`)

## Called by

- [`cmd_copy_mode_exec`](/en/tmux/3.2a/reference/c-function-cmd-copy-mode-c-cmd_copy_mode_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-copy-mode.c#L93)

## Calls

- [`window_copy_pageup1`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_pageup1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L559)

## Referenced declarations

- [`window_pane.modes`](/en/tmux/3.2a/reference/c-struct-window_pane-modes/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
