Lines Matching refs:cursor
205 /* reset the Drawing cursor */
212 /* reset the Drawing cursor */
216 if (el->el_line.cursor >= el->el_line.lastchar) {
219 el->el_line.cursor = el->el_line.lastchar - 1;
221 el->el_line.cursor = el->el_line.lastchar;
247 if (cp == el->el_line.cursor) {
276 re_putc(el, '\0', 0); /* make line ended with NUL, no cursor shift */
293 * moving the cursor by writing the character that is at the
317 "\r\ncursor.h = %d, cursor.v = %d, cur.h = %d, cur.v = %d\r\n",
320 term_move_to_line(el, cur.v); /* go to where the cursor is */
969 * Move to the new cursor position
977 if (el->el_line.cursor >= el->el_line.lastchar) {
980 el->el_line.cursor = el->el_line.lastchar - 1;
982 el->el_line.cursor = el->el_line.lastchar;
985 /* first we must find where the cursor is... */
990 /* do input buffer to el->el_line.cursor */
991 for (cp = el->el_line.buffer; cp < el->el_line.cursor; cp++) {
1073 * Assumes that screen cursor == real cursor
1081 c = (unsigned char)el->el_line.cursor[-1];
1083 if (c == '\t' || el->el_line.cursor != el->el_line.lastchar) {