Home
last modified time | relevance | path

Searched refs:header_lines (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/less/
H A Dforwback.c39 extern int header_lines;
153 if (ln+1 == header_lines && position(0) != ch_zero()) in set_attr_header()
167 if (header_lines > 0) in overlay_header()
171 for (ln = 0; ln < header_lines; ++ln) in overlay_header()
187 if (ln >= header_lines) /* switch from header lines to normal lines */ in overlay_header()
194 pos = forw_line_pfx(pos, header_cols, ln+1 < header_lines); in overlay_header()
341 header_lines == 0 && header_cols == 0 && in forw()
375 if (header_lines > 0) in forw()
409 do_repaint = (n > get_back_scroll() || (only_last && n > sc_height-1) || header_lines > 0); in back()
H A Doptfunc.c62 extern int header_lines;
969 header_lines = 0; in opt_header()
979 header_lines = n; in opt_header()
995 SNPRINTF2(buf, sizeof(buf), "%d,%d", header_lines, header_cols); in opt_header()
1084 return (chopline || header_cols > 0 || header_lines > 0); in chop_line()
1094 return (sc_height - header_lines + swindow); in get_swindow()
H A Dlinenum.c72 extern int header_lines;
496 linenum = (linenum < header_lines) ? 0 : linenum - header_lines; in vlinenum()
H A Dprompt.c32 extern int header_lines;
243 #define PAGE_NUM(linenum) ((((linenum) - 1) / (sc_height - header_lines - 1)) + 1) in protochar()
259 if (linenum > 0 && sc_height > header_lines + 1) in protochar()
H A Dposition.c28 extern int header_lines;
H A Dsearch.c42 extern int header_lines;
1194 if (nosearch_headers && linenum <= header_lines) in search_range()
1196 linenum = header_lines + 1; in search_range()
H A Dopttbl.c70 public int header_lines; /* Freeze header lines at top of screen */ variable
H A Dcommand.c55 extern int header_lines;