# window_copy_add

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

```c
void window_copy_add(struct window_pane *wp, const char *fmt,...)
```

## Parameters

- `wp` (`struct window_pane *`)
- `fmt` (`const char *`)
- `` (`...`)

## Called by

- [`cfg_show_causes`](/en/tmux/3.2a/reference/c-function-cfg_show_causes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cfg.c#L257)
- [`cmd_run_shell_print`](/en/tmux/3.2a/reference/c-function-cmd-run-shell-c-cmd_run_shell_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L91)
- [`cmdq_print`](/en/tmux/3.2a/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-queue.c#L825)

## Calls

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

## Referenced declarations

- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
