prompt_string
if (prompt == NULL && prompt_string[0] != '\0')
prompt = prompt_string;
static char prompt_string[80];
prompt_string[0] = '\0';
strlcpy(prompt_string, prompt, sizeof(prompt_string));
if (prompt_string[0] == '\0')
return prompt_string;
p = prompt_string();
char *prompt_string(void);
if (tc->prompt_string != NULL)
else if (c->prompt_string != NULL)
if (c->message_string != NULL || c->prompt_string != NULL)
if (c->prompt_string != NULL) {
} else if (c->prompt_string == NULL)
if (c->prompt_string != NULL) {
if (c->overlay_draw == NULL && c->prompt_string != NULL)
free(c->prompt_string);
if (c->message_string == NULL && c->prompt_string == NULL)
offset += utf8_cstrwidth(c->prompt_string);
offset += utf8_cstrwidth(c->prompt_string);
if (c->prompt_string == NULL)
if (c->prompt_string != NULL) {
c->prompt_string = xstrdup (msg);
if (c->prompt_string == NULL)
free(c->prompt_string);
c->prompt_string = NULL;
free(c->prompt_string);
c->prompt_string = xstrdup(msg);
prompt = format_expand_time(c->prompt_formats, c->prompt_string);