# libtmux:send-prefix

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/terminal-operations.lisp#L33
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-send-prefix/

```
(send-prefix client pane &key second cancel-token timeout output-limit)
```

Send the session's configured prefix key to PANE; return a COMMAND-OUTCOME.
SECOND selects prefix2. Tmux's active pane mode handles input; completion does
not establish application consumption. Signals STALE-TARGET or an operational
condition retaining its outcome.

## Parameters

- `client`
- `pane`
- `second?`
- `cancel-token?`
- `timeout?`
- `output-limit?`

## tmux command

The tmux commands behind `send-prefix`.

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

## tmux C API

The C declarations in tmux that implement these commands.

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

## Guides

Pages that discuss `send-prefix`.

- [Explicit operations](/en/lisp/latest/guides/operations/)
