Searched refs:prompt_this_line (Results 1 – 1 of 1) sorted by relevance
385 char *prompt_this_line; in rl_redisplay() local454 prompt_this_line = strrchr (rl_display_prompt, '\n'); in rl_redisplay()455 if (!prompt_this_line) in rl_redisplay()456 prompt_this_line = rl_display_prompt; in rl_redisplay()459 prompt_this_line++; in rl_redisplay()460 pmtlen = prompt_this_line - rl_display_prompt; /* temp var */ in rl_redisplay()466 if (pmtlen < 2 || prompt_this_line[-2] != '\r') in rl_redisplay()471 pmtlen = strlen (prompt_this_line); in rl_redisplay()479 strncpy (line + out, prompt_this_line, pmtlen); in rl_redisplay()