# window_copy_append_selection

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

```c
static void window_copy_append_selection(struct window_mode_entry *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Called by

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

## Calls

- [`notify_pane`](/en/tmux/3.2a/reference/c-function-notify_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4160)
- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4156)
- [`paste_buffer_data`](/en/tmux/3.2a/reference/c-function-paste_buffer_data/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4165)
- [`paste_get_top`](/en/tmux/3.2a/reference/c-function-paste_get_top/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4163)
- [`paste_set`](/en/tmux/3.2a/reference/c-function-paste_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4171)
- [`screen_write_setselection`](/en/tmux/3.2a/reference/c-function-screen_write_setselection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4158)
- [`screen_write_start_pane`](/en/tmux/3.2a/reference/c-function-screen_write_start_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4157)
- [`screen_write_stop`](/en/tmux/3.2a/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4159)
- [`window_copy_get_selection`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_get_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4152)
- [`xrealloc`](/en/tmux/3.2a/reference/c-function-xrealloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4166)

## Referenced declarations

- [`global_options`](/en/tmux/3.2a/reference/c-variable-global_options/) (attribute)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
- [`screen_write_ctx.wp`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-wp/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-wp/) (attribute)
