Lines Matching defs:line
154 case 'K': /* Previous line */
168 wscrl(box, -1); /* Scroll box region down one line */
174 /* print first line of page */
200 case 'J': /* Next line */
206 scroll(box); /* Scroll box region up one line */
224 case '0': /* Beginning of line */
269 * 'page' will be updated to point to the desired line in 'buf'.
319 * Print a new line of text. Called by dialog_textbox() and print_page().
324 char *line;
326 line = get_line();
327 line += MIN(strlen(line), hscroll); /* Scroll horizontally */
328 wmove(win, row, 0); /* move cursor to correct line */
330 waddnstr(win, line, MIN(strlen(line), width - 2));
333 /* Clear 'residue' of previous line */
346 * Return current line of text. Called by dialog_textbox() and print_line().
347 * 'page' should point to start of current line before calling, and will be
348 * updated to point to start of next line.
353 static char line[MAX_LEN + 1];
363 line[i++] = *(page++);
367 line[i++] = '\0';
372 line[i] = '\0';
376 return line;