# window_copy_add

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

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

## Parameters

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

## Called by

- [`cfg_show_causes`](/en/tmux/latest/reference/c-function-cfg_show_causes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L273)
- [`cmd_run_shell_print`](/en/tmux/latest/reference/c-function-cmd-run-shell-c-cmd_run_shell_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L104)
- [`server_client_print`](/en/tmux/latest/reference/c-function-server_client_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2853)

## Calls

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

## Referenced declarations

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