Return to cmd-command-prompt.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.66, 2023/03/15 08:15:39 | version 1.67, 2024/04/15 08:19:55 | ||
---|---|---|---|
|
|
||
cdata->prompt_type = status_prompt_type(type); | cdata->prompt_type = status_prompt_type(type); | ||
if (cdata->prompt_type == PROMPT_TYPE_INVALID) { | if (cdata->prompt_type == PROMPT_TYPE_INVALID) { | ||
cmdq_error(item, "unknown type: %s", type); | cmdq_error(item, "unknown type: %s", type); | ||
cmd_command_prompt_free(cdata); | |||
return (CMD_RETURN_ERROR); | return (CMD_RETURN_ERROR); | ||
} | } | ||
} else | } else |