# window_mode.command

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L1165
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-struct-window_mode-command/

```c
void(*command)(struct window_mode_entry *, struct client *, struct session *, struct winlink *, struct args *, struct mouse_event *);
```

## Referenced by

- [`cmd_send_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.7c/reference/c-struct-args/) (struct)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`mouse_event`](/en/tmux/3.7c/reference/c-struct-mouse_event/) (struct)
- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
- [`winlink`](/en/tmux/3.7c/reference/c-struct-winlink/) (struct)
