Lines Matching defs:lines
376 u_int lines, i, n, width = c->tty.sx;
390 lines = status_line_size(c);
391 if (c->tty.sy == 0 || lines == 0)
416 screen_size_y(&sl->screen) != lines) {
417 screen_resize(&sl->screen, width, lines, 0);
422 /* Write the status lines. */
425 for (n = 0; n < width * lines; n++)
428 for (i = 0; i < lines; i++) {
556 u_int lines, offset, messageline;
564 lines = status_line_size(c);
565 if (lines <= 1)
566 lines = 1;
567 screen_init(sl->active, c->tty.sx, lines, 0);
570 if (messageline > lines - 1)
571 messageline = lines - 1;
582 screen_write_fast_copy(&ctx, &sl->screen, 0, 0, c->tty.sx, lines);
788 u_int i, lines, offset, left, start, width, n;
797 lines = status_line_size(c);
798 if (lines <= 1)
799 lines = 1;
800 screen_init(sl->active, c->tty.sx, lines, 0);
809 if (promptline > lines - 1)
810 promptline = lines - 1;
824 screen_write_fast_copy(&ctx, &sl->screen, 0, 0, c->tty.sx, lines);
1816 u_int lines = status_line_size(c), height, i;
1821 if (c->tty.sy - lines < 3)
1830 height = c->tty.sy - lines - 2;
1846 py = lines;
1875 u_int lines = status_line_size(c), height;
1878 if (c->tty.sy - lines < 3)
1885 height = c->tty.sy - lines - 2;
1942 py = lines;