# window_copy_redraw_lines

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

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

## Parameters

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

## Called by

- [`window_copy_acquire_cursor_down`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_acquire_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6646)
- [`window_copy_acquire_cursor_up`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_acquire_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6617)
- [`window_copy_cmd_select_word`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cmd_select_word/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2354)
- [`window_copy_command`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L3530)
- [`window_copy_cursor_down`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5975)
- [`window_copy_cursor_up`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5902)
- [`window_copy_redraw_selection`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_redraw_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5023)
- [`window_copy_set_selection`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_set_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5342)
- [`window_copy_update_cursor`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_update_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5213)
- [`window_copy_vadd`](/en/tmux/latest/reference/c-function-window_copy_vadd/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L622)

## Calls

- [`screen_write_cursormove`](/en/tmux/latest/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5039)
- [`screen_write_start`](/en/tmux/latest/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5036)
- [`screen_write_start_pane`](/en/tmux/latest/reference/c-function-screen_write_start_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5047)
- [`screen_write_stop`](/en/tmux/latest/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5042)
- [`window_copy_line_number_width`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_line_number_width/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5035)
- [`window_copy_write_line`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_write_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5038)

## Other function references

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

## Referenced by

- [`window_copy_redraw_screen`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_redraw_screen/) (function)

## Referenced declarations

- [`window_copy_mode_data.cx`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_pane.flags`](/en/tmux/latest/reference/c-struct-window_pane-flags/) (attribute)
- [`PANE_REDRAW`](/en/tmux/latest/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`PANE_REDRAWSCROLLBAR`](/en/tmux/latest/reference/c-define-tmux-h-pane_redrawscrollbar/) (constant)
- [`screen_write_ctx.s`](/en/tmux/latest/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_size_x`](/en/tmux/latest/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
- [`screen_write_ctx.wp`](/en/tmux/latest/reference/c-struct-screen_write_ctx-wp/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/latest/reference/c-struct-window_mode_entry-wp/) (attribute)
