# cmd_command_prompt_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-command-prompt.c#L39
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_command_prompt_entry/

tmux command: [`command-prompt`](/en/tmux/3.2a/manual/command-prompt/)

```c
const struct cmd_entry cmd_command_prompt_entry = {
    .name = "command-prompt",
    .alias = NULL,

    .args = { "1kiI:Np:Tt:W", 0, 1 },
    .usage = "[-1kiNTW] [-I inputs] [-p prompts] " "[-t target-client]" " "
         "[template]",

    .flags = 0x10 ,
    .exec = cmd_command_prompt_exec
};
```

## Other function references

- [`cmd_command_prompt_exec`](/en/tmux/3.2a/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`cmd_entry`](/en/tmux/3.2a/reference/c-struct-cmd_entry/) (struct)
