# window_copy_scroll_up

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6287
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll_up/

```c
static void window_copy_scroll_up(struct window_mode_entry *, u_int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `ny` (`u_int`)

## Called by

- [`window_copy_cmd_recentre_top_bottom`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_recentre_top_bottom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2857)
- [`window_copy_cmd_scroll_to`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_scroll_to/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1517)
- [`window_copy_cursor_down`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5973)

## Calls

- [`screen_write_cursormove`](/en/tmux/3.7c/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6310)
- [`screen_write_deleteline`](/en/tmux/3.7c/reference/c-function-screen_write_deleteline/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6311)
- [`screen_write_start`](/en/tmux/3.7c/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6309)
- [`screen_write_start_pane`](/en/tmux/3.7c/reference/c-function-screen_write_start_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6330)
- [`screen_write_stop`](/en/tmux/3.7c/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6325)
- [`window_copy_line_number_mode`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_line_number_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6304)
- [`window_copy_line_numbers_active`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_line_numbers_active/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6303)
- [`window_copy_redraw_screen`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_redraw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6306)
- [`window_copy_search_marks`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6301)
- [`window_copy_update_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6302)
- [`window_copy_write_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_write_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6313)

## Other function references

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

## Referenced declarations

- [`window_copy_mode_data.cx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_pane.flags`](/en/tmux/3.7c/reference/c-struct-window_pane-flags/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`PANE_REDRAW`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`PANE_REDRAWSCROLLBAR`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_redrawscrollbar/) (constant)
- [`screen_write_ctx.s`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`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)
- [`window_copy_mode_data.searchmark`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-searchmark/) (attribute)
- [`window_copy_mode_data.searchregex`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-searchregex/) (attribute)
- [`screen.sel`](/en/tmux/3.7c/reference/c-struct-screen-sel/) (attribute)
- [`window_copy_mode_data.timeout`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-timeout/) (attribute)
- [`WINDOW_COPY_LINE_NUMBERS_ABSOLUTE`](/en/tmux/3.7c/reference/c-enum-window_copy_line_numbers-window_copy_line_numbers_absolute/) (constant)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
- [`screen_write_ctx.wp`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx-wp/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-wp/) (attribute)
