# window_copy_write_lines

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

```c
static void window_copy_write_lines(struct window_mode_entry *, struct screen_write_ctx *, u_int, u_int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `ctx` (`struct screen_write_ctx *`)
- `py` (`u_int`)
- `ny` (`u_int`)

## Called by

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

## Calls

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

## Referenced by

- [`window_copy_scroll_up`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_scroll_up/) (function)
- [`window_copy_size_changed`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_size_changed/) (function)

## Referenced declarations

- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
