Lines Matching refs:prompt
1546 char_u *prompt; in invoke_prompt_callback() local
1559 prompt = prompt_text(); in invoke_prompt_callback()
1560 if (STRLEN(text) >= STRLEN(prompt)) in invoke_prompt_callback()
1561 text += STRLEN(prompt); in invoke_prompt_callback()
1619 char_u *prompt = prompt_text(); in init_prompt() local
1624 if (STRNCMP(text, prompt, STRLEN(prompt)) != 0) in init_prompt()
1628 ml_replace(curbuf->b_ml.ml_line_count, prompt, TRUE); in init_prompt()
1630 ml_append(curbuf->b_ml.ml_line_count, prompt, 0, FALSE); in init_prompt()
1638 || Insstart_orig.col != (int)STRLEN(prompt)) in init_prompt()
1639 set_insstart(curwin->w_cursor.lnum, (int)STRLEN(prompt)); in init_prompt()
1643 if (curwin->w_cursor.col < (int)STRLEN(prompt)) in init_prompt()
1644 curwin->w_cursor.col = (int)STRLEN(prompt); in init_prompt()