# prompt_type

- **Language:** C
- **Kind:** enum
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L1974
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-enum-prompt_type/

```c
enum prompt_type { PROMPT_TYPE_COMMAND, PROMPT_TYPE_SEARCH, PROMPT_TYPE_TARGET, PROMPT_TYPE_WINDOW_TARGET, PROMPT_TYPE_INVALID = 0xff };
```

## Members

### Other members

- [`PROMPT_TYPE_COMMAND`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_command/) (constant)
- [`PROMPT_TYPE_INVALID`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_invalid/) (constant)
- [`PROMPT_TYPE_SEARCH`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_search/) (constant)
- [`PROMPT_TYPE_TARGET`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_target/) (constant)
- [`PROMPT_TYPE_WINDOW_TARGET`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_window_target/) (constant)
