Lines Matching refs:where
491 terminal_move_to_line(EditLine *el, int where) in terminal_move_to_line() argument
495 if (where == el->el_cursor.v) in terminal_move_to_line()
498 if (where >= el->el_terminal.t_size.v) { in terminal_move_to_line()
501 "%s: where is ridiculous: %d\r\n", __func__, where); in terminal_move_to_line()
505 if ((del = where - el->el_cursor.v) > 0) { in terminal_move_to_line()
523 el->el_cursor.v = where;/* now where is here */ in terminal_move_to_line()
531 terminal_move_to_char(EditLine *el, int where) in terminal_move_to_char() argument
536 if (where == el->el_cursor.h) in terminal_move_to_char()
539 if (where > el->el_terminal.t_size.h) { in terminal_move_to_char()
542 "%s: where is ridiculous: %d\r\n", __func__, where); in terminal_move_to_char()
546 if (!where) { /* if where is first column */ in terminal_move_to_char()
551 del = where - el->el_cursor.h; in terminal_move_to_char()
555 terminal_tputs(el, tgoto(Str(T_ch), where, where), where); in terminal_move_to_char()
565 (where & ~0x7) in terminal_move_to_char()
567 el->el_cursor.v][where & 0370] != in terminal_move_to_char()
573 i < (where & ~0x7); in terminal_move_to_char()
578 el->el_cursor.h = where & ~0x7; in terminal_move_to_char()
592 (size_t)(where - el->el_cursor.h)); in terminal_move_to_char()
606 (((unsigned int) where >> 3) + in terminal_move_to_char()
607 (where & 07))) in terminal_move_to_char()
608 : (-del > where)) { in terminal_move_to_char()
618 el->el_cursor.h = where; /* now where is here */ in terminal_move_to_char()