# window_copy_scroll1

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

```c
static void window_copy_scroll1(struct window_mode_entry *, struct window_pane *, int, u_int, u_int, int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `wp` (`struct window_pane *`)
- `sl_mpos` (`int`)
- `my` (`u_int`)
- `tty_oy` (`u_int`)
- `scroll_exit` (`int`)

## Called by

- [`window_copy_scroll`](/en/tmux/3.7c/reference/c-function-window_copy_scroll/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L638)

## Calls

- [`window_copy_cursor_end_of_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L731)
- [`window_copy_find_length`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_find_length/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L693)
- [`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#L742)
- [`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#L740)
- [`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#L741)
- [`window_pane_reset_mode`](/en/tmux/3.7c/reference/c-function-window_pane_reset_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L735)

## Other function references

- [`window_copy_get_current_offset`](/en/tmux/3.7c/reference/c-function-window_copy_get_current_offset/) (function)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cursordrag`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cursordrag/) (attribute)
- [`CURSORDRAG_NONE`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-171347220270030325112165345063320142325041012373-cursordrag_none/) (constant)
- [`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_copy_mode_data.lastcx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-lastcx/) (attribute)
- [`window_copy_mode_data.lastsx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-lastsx/) (attribute)
- [`window_pane.modes`](/en/tmux/3.7c/reference/c-struct-window_pane-modes/) (attribute)
- [`window_copy_mode_data.my`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-my/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.rectflag`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-rectflag/) (attribute)
- [`window_pane.sb_slider_h`](/en/tmux/3.7c/reference/c-struct-window_pane-sb_slider_h/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_hsize`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`window_copy_mode_data.scroll_exit`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-scroll_exit/) (attribute)
- [`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_pane.sy`](/en/tmux/3.7c/reference/c-struct-window_pane-sy/) (attribute)
- [`window_copy_mode_data.timeout`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-timeout/) (attribute)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
- [`window_pane.yoff`](/en/tmux/3.7c/reference/c-struct-window_pane-yoff/) (attribute)
