prompt_type
cdata->prompt_type = status_prompt_type(type);
if (cdata->prompt_type == PROMPT_TYPE_INVALID) {
cdata->prompt_type = PROMPT_TYPE_COMMAND;
cmd_command_prompt_free, cdata, cdata->flags, cdata->prompt_type);
enum prompt_type prompt_type;
enum prompt_type type;
c->prompt_type);
c->prompt_type);
status_prompt_add_history(s, c->prompt_type);
if (c->prompt_type == PROMPT_TYPE_WINDOW_TARGET) {
if (c->prompt_type == PROMPT_TYPE_WINDOW_TARGET) {
c->prompt_type != PROMPT_TYPE_TARGET &&
c->prompt_type != PROMPT_TYPE_WINDOW_TARGET)
if (c->prompt_type != PROMPT_TYPE_TARGET &&
c->prompt_type != PROMPT_TYPE_WINDOW_TARGET &&
if (c->prompt_type == PROMPT_TYPE_TARGET ||
c->prompt_type == PROMPT_TYPE_WINDOW_TARGET) {
if (c->prompt_type == PROMPT_TYPE_WINDOW_TARGET) {
enum prompt_type
prompt_free_cb freecb, void *data, int flags, enum prompt_type prompt_type)
c->prompt_type = prompt_type;
enum prompt_type type = PROMPT_TYPE_INVALID;
enum prompt_type {
enum prompt_type prompt_type;
enum prompt_type status_prompt_type(const char *type);