Lines Matching refs:cols
187 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()
329 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
337 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
344 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
349 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
353 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()
357 refreshLine(fd,prompt,buf,len,pos,cols); in linenoisePrompt()