Home | History | Annotate | Download | only in lib

Lines Matching refs:columns

79 // Show width many columns, negative means from right edge.
81 // if escout, send it unprintable chars, returns columns output or -1 for
83 // Returns width in columns, moves *str to end of data consumed.
87 int columns = 0, col, bytes;
97 if (width-columns<col) break;
99 } else if (!escout || 0>(col = escout(out, width-columns, &end))) {
111 if (width-columns<col) buf[col = width-columns] = 0;
115 columns += col;
120 return columns;
124 // Returns length in columns so caller can pad it out with spaces.
130 // Return utf8 columns
136 // Return bytes used by (up to) this many columns
147 // out to padto. If padto<0 left justify. Returns columns printed