# cmdq_print

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L844
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmdq_print/

```c
void cmdq_print(struct cmdq_item *item, const char *fmt,...)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `fmt` (`const char *`)
- `` (`...`)

## Called by

- [`cfg_print_causes`](/en/tmux/3.7c/reference/c-function-cfg_print_causes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L231)
- [`cmd_break_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-break-pane-c-cmd_break_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-break-pane.c#L150)
- [`cmd_display_message_each`](/en/tmux/3.7c/reference/c-function-cmd-display-message-c-cmd_display_message_each/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-message.c#L57)
- [`cmd_display_message_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-message.c#L146)
- [`cmd_list_buffers_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-buffers-c-cmd_list_buffers_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-buffers.c#L82)
- [`cmd_list_clients_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-clients-c-cmd_list_clients_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-clients.c#L100)
- [`cmd_list_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-keys-c-cmd_list_keys_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-keys.c#L243)
- [`cmd_list_panes_window`](/en/tmux/3.7c/reference/c-function-cmd-list-panes-c-cmd_list_panes_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-panes.c#L160)
- [`cmd_list_sessions_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-sessions-c-cmd_list_sessions_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-sessions.c#L89)
- [`cmd_list_single_command`](/en/tmux/3.7c/reference/c-function-cmd-list-commands-c-cmd_list_single_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-commands.c#L69)
- [`cmd_list_windows_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-windows-c-cmd_list_windows_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-windows.c#L107)
- [`cmd_new_session_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-new-session.c#L352)
- [`cmd_new_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-window-c-cmd_new_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-new-window.c#L158)
- [`cmd_run_shell_print`](/en/tmux/3.7c/reference/c-function-cmd-run-shell-c-cmd_run_shell_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L90)
- [`cmd_select_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-pane.c#L181)
- [`cmd_show_environment_print`](/en/tmux/3.7c/reference/c-function-cmd-show-environment-c-cmd_show_environment_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-environment.c#L82)
- [`cmd_show_messages_exec`](/en/tmux/3.7c/reference/c-function-cmd-show-messages-c-cmd_show_messages_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-messages.c#L101)
- [`cmd_show_messages_terminals`](/en/tmux/3.7c/reference/c-function-cmd-show-messages-c-cmd_show_messages_terminals/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-messages.c#L61)
- [`cmd_show_options_all`](/en/tmux/3.7c/reference/c-function-cmd-show-options-c-cmd_show_options_all/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-options.c#L246)
- [`cmd_show_options_print`](/en/tmux/3.7c/reference/c-function-cmd-show-options-c-cmd_show_options_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-options.c#L164)
- [`cmd_show_prompt_history_exec`](/en/tmux/3.7c/reference/c-function-cmd-show-prompt-history-c-cmd_show_prompt_history_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-prompt-history.c#L88)
- [`cmd_split_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-split-window.c#L230)
- [`format_log1`](/en/tmux/3.7c/reference/c-function-format-c-format_log1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L288)
- [`job_print_summary`](/en/tmux/3.7c/reference/c-function-job_print_summary/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/job.c#L443)
- [`server_acl_display`](/en/tmux/3.7c/reference/c-function-server_acl_display/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-acl.c#L88)

## Calls

- [`cmdq_print_data`](/en/tmux/3.7c/reference/c-function-cmdq_print_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L857)
- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L851)

## Referenced declarations

- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
