# window_copy_synchronize_cursor_end

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

```c
static void window_copy_synchronize_cursor_end(struct window_mode_entry *wme, int begin, int no_reset)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `begin` (`int`)
- `no_reset` (`int`)

## Called by

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

## Calls

- [`window_copy_cursor_next_word_end_pos`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_next_word_end_pos/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5103)
- [`window_copy_cursor_previous_word_pos`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_previous_word_pos/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5092)
- [`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#L5128)

## Other function references

- [`window_copy_in_set`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_in_set/) (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.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.dx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-dx/) (attribute)
- [`window_copy_mode_data.dy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-dy/) (attribute)
- [`window_copy_mode_data.endselrx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-endselrx/) (attribute)
- [`window_copy_mode_data.endselry`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-endselry/) (attribute)
- [`window_copy_mode_data.endselx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-endselx/) (attribute)
- [`window_copy_mode_data.endsely`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-endsely/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_hsize`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`SEL_CHAR`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-006030303266304015365171123151216336006130054251-sel_char/) (constant)
- [`SEL_LINE`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-006030303266304015365171123151216336006130054251-sel_line/) (constant)
- [`SEL_WORD`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-006030303266304015365171123151216336006130054251-sel_word/) (constant)
- [`window_copy_mode_data.selflag`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-selflag/) (attribute)
- [`window_copy_mode_data.selrx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-selrx/) (attribute)
- [`window_copy_mode_data.selry`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-selry/) (attribute)
- [`window_copy_mode_data.selx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-selx/) (attribute)
- [`window_copy_mode_data.sely`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-sely/) (attribute)
- [`window_copy_mode_data.separators`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-separators/) (attribute)
- [`WHITESPACE`](/en/tmux/3.7c/reference/c-define-tmux-h-whitespace/) (constant)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
