Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/tbl/
H A Dtu.c63 int lcount, ln, linpos, oldpos, nodata; in drawline() local
76 for(ln=oldpos=0; ln<lcount; ln++) in drawline()
79 if (linpos != oldpos) in drawline()
80 fprintf(tabout, "\\v'%dp'", linpos-oldpos); in drawline()
81 oldpos=linpos; in drawline()
146 if (oldpos!=0) in drawline()
147 fprintf(tabout, "\\v'%dp'", -oldpos); in drawline()
/illumos-gate/usr/src/boot/common/linenoise/
H A Dlinenoise.c130 size_t oldpos; /* Previous refresh cursor position. */ member
380 int rpos = (plen+l->oldpos+l->cols)/l->cols; /* cursor relative row. */ in refreshMultiLine()
442 l->oldpos = l->pos; in refreshMultiLine()
609 l.oldpos = l.pos = 0; in linenoiseEdit()