Home
last modified time | relevance | path

Searched refs:cols (Results 1 – 1 of 1) sorted by relevance

/system/core/liblinenoise/
Dlinenoise.c187 static void refreshLine(int fd, const char *prompt, char *buf, size_t len, size_t pos, size_t cols)… in refreshLine() argument
191 while((plen+pos) >= cols) { in refreshLine()
196 while (plen+len > cols) { in refreshLine()
218 size_t cols = getColumns(); in linenoisePrompt() local
254 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
263 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
284 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
291 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
313 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
324 if (plen+len < cols) { in linenoisePrompt()
[all …]