# window_copy_get_word

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L698
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window_copy_get_word/

```c
char * window_copy_get_word(struct window_pane *wp, u_int x, u_int y)
```

## Parameters

- `wp` (`struct window_pane *`)
- `x` (`u_int`)
- `y` (`u_int`)

## Called by

- [`window_copy_cursor_word_cb`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_word_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L724)

## Calls

- [`format_grid_word`](/en/tmux/3.2a/reference/c-function-format_grid_word/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L704)

## Referenced by

- [`format_cb_mouse_word`](/en/tmux/3.2a/reference/c-function-format-c-format_cb_mouse_word/) (function)

## Referenced declarations

- [`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)
- [`grid.hsize`](/en/tmux/3.2a/reference/c-struct-grid-hsize/) (attribute)
- [`window_pane.modes`](/en/tmux/3.2a/reference/c-struct-window_pane-modes/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
- [`window_mode_entry.wp`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-wp/) (attribute)
