# window_copy_cursor_previous_word_pos

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

```c
static void window_copy_cursor_previous_word_pos(struct window_mode_entry *, const char *, u_int *, u_int *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `separators` (`const char *`)
- `ppx` (`u_int *`)
- `ppy` (`u_int *`)

## Called by

- [`window_copy_start_drag`](/en/tmux/latest/reference/c-function-window_copy_start_drag/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6481)
- [`window_copy_synchronize_cursor_end`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_synchronize_cursor_end/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5092)

## Calls

- [`grid_reader_cursor_previous_word`](/en/tmux/latest/reference/c-function-grid_reader_cursor_previous_word/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6204)
- [`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#L6205)
- [`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#L6203)

## 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)
- [`screen_hsize`](/en/tmux/latest/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
