# cmd_show_prompt_history_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-prompt-history.c#L30
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-cmd_show_prompt_history_entry/

tmux command: [`show-prompt-history`](/en/tmux/3.7c/manual/show-prompt-history/)

```c
const struct cmd_entry cmd_show_prompt_history_entry = {
    .name = "show-prompt-history",
    .alias = "showphist",

    .args = { "T:", 0, 0, NULL },
    .usage = "[-T prompt-type]",

    .flags = 0x4 ,
    .exec = cmd_show_prompt_history_exec
};
```

## Other function references

- [`cmd_show_prompt_history_exec`](/en/tmux/3.7c/reference/c-function-cmd-show-prompt-history-c-cmd_show_prompt_history_exec/) (function)

## Referenced declarations

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