Add a helper to store a cell, and some tidying.

This commit is contained in:
nicm
2017-02-08 15:41:41 +00:00
parent 96b66f8fc3
commit ac1f294bb9
2 changed files with 26 additions and 15 deletions

View File

@ -423,6 +423,9 @@ screen_redraw_pane(struct client *c, struct window_pane *wp)
if (status_at_line(c) == 0)
yoff++;
log_debug("%s: redraw pane %%%u (at %u,%u)", c->tty.path, wp->id,
wp->xoff, yoff);
for (i = 0; i < wp->sy; i++)
tty_draw_pane(&c->tty, wp, i, wp->xoff, yoff);
tty_reset(&c->tty);