# window_copy_in_set

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

```c
static int window_copy_in_set(struct window_mode_entry *, u_int, u_int, const char *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `set` (`const char *`)

## Calls

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

## Referenced by

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

## Referenced declarations

- [`grid_cell.data`](/en/tmux/3.2a/reference/c-struct-grid_cell-data/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell-flags/) (attribute)
- [`GRID_FLAG_PADDING`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
