# LibTmux::Model::PaneRef.copy-command

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Model.rakumod#L481
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-paneref-copy-command/

```
method copy-command(Str:D $command, *@arguments --> Result:D)
```

Dispatch a native [copy-mode](/en/tmux/latest/manual/copy-mode/) command with separate argument values.

Dispatch a native [copy-mode](/en/tmux/latest/manual/copy-mode/) command with separate argument values.

## Parameters

- `$command` (`Str:D`)
- `@arguments`

## tmux command

The tmux commands behind `copy-command`.

- [`send-keys`](/en/tmux/latest/manual/send-keys/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_send_keys_entry`](/en/tmux/latest/reference/c-variable-cmd_send_keys_entry/) (attribute)
- [`cmd_send_keys_exec`](/en/tmux/latest/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function)
