Lines Matching refs:cols
187 static void refreshLine(int fd, const char *prompt, char *buf, size_t len, size_t pos, size_t cols) {
191 while((plen+pos) >= cols) {
196 while (plen+len > cols) {
218 size_t cols = getColumns();
254 refreshLine(fd,prompt,buf,len,pos,cols);
263 refreshLine(fd,prompt,buf,len,pos,cols);
284 refreshLine(fd,prompt,buf,len,pos,cols);
291 refreshLine(fd,prompt,buf,len,pos,cols);
313 refreshLine(fd,prompt,buf,len,pos,cols);
324 if (plen+len < cols) {
329 refreshLine(fd,prompt,buf,len,pos,cols);
337 refreshLine(fd,prompt,buf,len,pos,cols);
344 refreshLine(fd,prompt,buf,len,pos,cols);
349 refreshLine(fd,prompt,buf,len,pos,cols);
353 refreshLine(fd,prompt,buf,len,pos,cols);
357 refreshLine(fd,prompt,buf,len,pos,cols);