# window_copy_cursor_end_of_line

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

```c
static void window_copy_cursor_end_of_line(struct window_mode_entry *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Called by

- [`window_copy_cmd_end_of_line`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cmd_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1612)
- [`window_copy_cmd_select_line`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cmd_select_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2307)
- [`window_copy_do_copy_end_of_line`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_do_copy_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1266)
- [`window_copy_do_copy_line`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_do_copy_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1354)
- [`window_copy_pagedown1`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_pagedown1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L847)
- [`window_copy_pageup1`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_pageup1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L789)
- [`window_copy_scroll1`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_scroll1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L731)

## Calls

- [`grid_reader_cursor_end_of_line`](/en/tmux/latest/reference/c-function-grid_reader_cursor_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5769)
- [`grid_reader_get_cursor`](/en/tmux/latest/reference/c-function-grid_reader_get_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5772)
- [`grid_reader_start`](/en/tmux/latest/reference/c-function-grid_reader_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5767)
- [`window_copy_cursor_limit`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_limit/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5774)

## Other function references

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

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`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)
- [`screen.grid`](/en/tmux/latest/reference/c-struct-screen-grid/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.rectflag`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-rectflag/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_hsize`](/en/tmux/latest/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_y`](/en/tmux/latest/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen.sel`](/en/tmux/latest/reference/c-struct-screen-sel/) (attribute)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
