Searched refs:bufpos (Results 1 – 1 of 1) sorted by relevance
2056 int bufpos = 0; in cs_read_prompt() local2071 if (bufpos < maxlen - 1 && vim_isprintc(ch)) in cs_read_prompt()2078 buf[bufpos++] = ch; in cs_read_prompt()2079 buf[bufpos] = NUL; in cs_read_prompt()2080 if (bufpos >= epromptlen in cs_read_prompt()2081 && strcmp(&buf[bufpos - epromptlen], eprompt) == 0) in cs_read_prompt()2084 buf[bufpos - epromptlen] = NUL; in cs_read_prompt()2094 bufpos = 0; in cs_read_prompt()2095 buf[bufpos] = NUL; in cs_read_prompt()