Lines Matching refs:r_cursor

98 	el->el_refresh.r_cursor.h = 0;	/* reset it. */  in re_nextline()
106 if (el->el_refresh.r_cursor.v + 1 >= el->el_terminal.t_size.v) { in re_nextline()
116 el->el_refresh.r_cursor.v++; in re_nextline()
118 ELRE_ASSERT(el->el_refresh.r_cursor.v >= el->el_terminal.t_size.v, in re_nextline()
120 el->el_refresh.r_cursor.v, el->el_terminal.t_size.v), in re_nextline()
134 if ((el->el_refresh.r_cursor.h & 07) == 0) in re_addc()
139 int oldv = el->el_refresh.r_cursor.v; in re_addc()
141 if (oldv == el->el_refresh.r_cursor.v) /* XXX */ in re_addc()
169 while (shift && (el->el_refresh.r_cursor.h + w > el->el_terminal.t_size.h)) in re_putc()
172 el->el_vdisplay[el->el_refresh.r_cursor.v] in re_putc()
173 [el->el_refresh.r_cursor.h] = c; in re_putc()
177 el->el_vdisplay[el->el_refresh.r_cursor.v] in re_putc()
178 [el->el_refresh.r_cursor.h + i] = MB_FILL_CHAR; in re_putc()
183 el->el_refresh.r_cursor.h += w; /* advance to next place */ in re_putc()
184 if (el->el_refresh.r_cursor.h >= el->el_terminal.t_size.h) { in re_putc()
186 el->el_vdisplay[el->el_refresh.r_cursor.v][el->el_terminal.t_size.h] in re_putc()
213 el->el_refresh.r_cursor.h = 0; in re_refresh()
214 el->el_refresh.r_cursor.v = 0; in re_refresh()
220 el->el_refresh.r_cursor.h = 0; in re_refresh()
221 el->el_refresh.r_cursor.v = 0; in re_refresh()
257 cur.h = el->el_refresh.r_cursor.h; in re_refresh()
258 cur.v = el->el_refresh.r_cursor.v; in re_refresh()
260 if (w > 1 && el->el_refresh.r_cursor.h + w > in re_refresh()
270 cur.h = el->el_refresh.r_cursor.h; in re_refresh()
271 cur.v = el->el_refresh.r_cursor.v; in re_refresh()
273 rhdiff = el->el_terminal.t_size.h - el->el_refresh.r_cursor.h - in re_refresh()
276 !el->el_refresh.r_cursor.v && rhdiff > 1) { in re_refresh()
292 el->el_refresh.r_newcv = el->el_refresh.r_cursor.v; in re_refresh()
296 el->el_terminal.t_size.h, el->el_refresh.r_cursor.h, in re_refresh()
297 el->el_refresh.r_cursor.v, ct_encode_string(el->el_vdisplay[0]))); in re_refresh()
316 el->el_refresh.r_cursor.v, el->el_refresh.r_oldcv, i)); in re_refresh()
333 el->el_refresh.r_cursor.h, el->el_refresh.r_cursor.v, in re_refresh()