version 1.8, 2009/07/31 10:12:49 |
version 1.9, 2009/08/10 19:42:03 |
|
|
/* If only drawing status and it is present, don't need the rest. */ |
/* If only drawing status and it is present, don't need the rest. */ |
if (status_only && status) { |
if (status_only && status) { |
tty_draw_line(tty, &c->status, 0, 0, tty->sy - 1); |
tty_draw_line(tty, &c->status, 0, 0, tty->sy - 1); |
|
tty_reset(tty); |
return; |
return; |
} |
} |
|
|
|
|
/* Draw the status line. */ |
/* Draw the status line. */ |
if (status) |
if (status) |
tty_draw_line(tty, &c->status, 0, 0, tty->sy - 1); |
tty_draw_line(tty, &c->status, 0, 0, tty->sy - 1); |
|
tty_reset(tty); |
} |
} |
|
|
/* Draw a single pane. */ |
/* Draw a single pane. */ |
|
|
|
|
for (i = 0; i < wp->sy; i++) |
for (i = 0; i < wp->sy; i++) |
tty_draw_line(&c->tty, wp->screen, i, wp->xoff, wp->yoff); |
tty_draw_line(&c->tty, wp->screen, i, wp->xoff, wp->yoff); |
|
tty_reset(&c->tty); |
} |
} |