# cmd_display_panes_key

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L253
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_key/

```c
static int cmd_display_panes_key(struct client *c, void *data, struct key_event *event)
```

## Parameters

- `c` (`struct client *`)
- `data` (`void *`)
- `event` (`struct key_event *`)

## Calls

- [`args_make_commands`](/en/tmux/3.7c/reference/c-function-args_make_commands/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L282)
- [`cmdq_append`](/en/tmux/3.7c/reference/c-function-cmdq_append/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L284)
- [`cmdq_get_command`](/en/tmux/3.7c/reference/c-function-cmdq_get_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L287)
- [`cmdq_insert_after`](/en/tmux/3.7c/reference/c-function-cmdq_insert_after/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L291)
- [`window_pane_at_index`](/en/tmux/3.7c/reference/c-function-window_pane_at_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L275)
- [`window_unzoom`](/en/tmux/3.7c/reference/c-function-window_unzoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L278)
- [`xasprintf`](/en/tmux/3.7c/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L280)

## Other function references

- [`cmdq_get_error`](/en/tmux/3.7c/reference/c-function-cmdq_get_error/) (function)
- [`cmdq_get_state`](/en/tmux/3.7c/reference/c-function-cmdq_get_state/) (function)

## Referenced by

- [`cmd_display_panes_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_exec/) (function)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`window_pane.event`](/en/tmux/3.7c/reference/c-struct-window_pane-event/) (attribute)
- [`window_pane.id`](/en/tmux/3.7c/reference/c-struct-window_pane-id/) (attribute)
- [`cmd_display_panes_data.item`](/en/tmux/3.7c/reference/c-struct-cmd_display_panes_data-item/) (attribute)
- [`key_event`](/en/tmux/3.7c/reference/c-struct-key_event/) (struct)
- [`KEYC_MASK_KEY`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_mask_key/) (constant)
- [`KEYC_MASK_MODIFIERS`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_mask_modifiers/) (constant)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`cmd_display_panes_data.state`](/en/tmux/3.7c/reference/c-struct-cmd_display_panes_data-state/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
