Lines Matching refs:cur_line
503 int saw_esc = 0, do_quote = 0, i, cur_line, len, my_line, save_cursor;
519 my_line = cur_line = num_lines;
614 if (cur_line <= 0)
616 if (my_line == cur_line) {
620 cur_line--;
622 if (cur_line >= num_lines)
624 cur_line++;
625 if (cur_line == num_lines) {
636 p = history_lines[cur_line];
639 strcpy(buf, history_lines[cur_line]);
650 if (cur_line >= num_lines)
652 if (cur_line == num_lines - 1) {
658 cur_line++;
659 p = history_lines[cur_line];