# window_copy_cursor_end_of_line

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4313
- **Page:** https://libtmux.org/en/tmux/3.2a/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_copy_end_of_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_copy_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L978)
- [`window_copy_cmd_copy_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_copy_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1011)
- [`window_copy_cmd_end_of_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1131)
- [`window_copy_cmd_select_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_select_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1769)
- [`window_copy_pagedown`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_pagedown/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L648)
- [`window_copy_pageup1`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_pageup1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L600)

## Calls

- [`grid_reader_cursor_end_of_line`](/en/tmux/3.2a/reference/c-function-grid_reader_cursor_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4327)
- [`grid_reader_get_cursor`](/en/tmux/3.2a/reference/c-function-grid_reader_get_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4330)
- [`grid_reader_start`](/en/tmux/3.2a/reference/c-function-grid_reader_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4325)

## Other function references

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

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.rectflag`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-rectflag/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_hsize`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen.sel`](/en/tmux/3.2a/reference/c-struct-screen-sel/) (attribute)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
