# window_copy_cmd_copy_selection_no_clear

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

```c
static enum window_copy_cmd_action window_copy_cmd_copy_selection_no_clear(struct window_copy_cmd_state *cs)
```

## Parameters

- `cs` (`struct window_copy_cmd_state *`)

## Called by

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

## Calls

- [`args_string`](/en/tmux/latest/reference/c-function-args_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1414)
- [`format_single`](/en/tmux/latest/reference/c-function-format_single/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1419)
- [`window_copy_copy_selection`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_copy_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1422)

## Other function references

- [`args_has`](/en/tmux/latest/reference/c-function-args_has/) (function)

## Referenced declarations

- [`window_copy_cmd_state.c`](/en/tmux/latest/reference/c-struct-window_copy_cmd_state-c/) (attribute)
- [`window_copy_cmd_state.s`](/en/tmux/latest/reference/c-struct-window_copy_cmd_state-s/) (attribute)
- [`window_copy_cmd_state.wargs`](/en/tmux/latest/reference/c-struct-window_copy_cmd_state-wargs/) (attribute)
- [`window_copy_cmd_action`](/en/tmux/latest/reference/c-enum-window_copy_cmd_action/) (enum)
- [`WINDOW_COPY_CMD_NOTHING`](/en/tmux/latest/reference/c-enum-window_copy_cmd_action-window_copy_cmd_nothing/) (constant)
- [`window_copy_cmd_state`](/en/tmux/latest/reference/c-struct-window_copy_cmd_state/) (struct)
- [`window_copy_cmd_state.wl`](/en/tmux/latest/reference/c-struct-window_copy_cmd_state-wl/) (attribute)
- [`window_copy_cmd_state.wme`](/en/tmux/latest/reference/c-struct-window_copy_cmd_state-wme/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/latest/reference/c-struct-window_mode_entry-wp/) (attribute)
