PROMPT_SIZE
static char message[PROMPT_SIZE];
if (mp + len >= message + PROMPT_SIZE)
len = message + PROMPT_SIZE - mp - 1;