[BACK]Return to screen-redraw.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/screen-redraw.c between version 1.8 and 1.9

version 1.8, 2009/07/31 10:12:49 version 1.9, 2009/08/10 19:42:03
Line 173 
Line 173 
         /* 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;
         }          }
   
Line 214 
Line 215 
         /* 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. */
Line 224 
Line 226 
   
         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);
 }  }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9