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

Diff for /src/usr.bin/tmux/tty.c between version 1.208 and 1.209

version 1.208, 2016/10/11 13:21:59 version 1.209, 2016/10/12 13:24:07
Line 658 
Line 658 
 tty_draw_line(struct tty *tty, const struct window_pane *wp,  tty_draw_line(struct tty *tty, const struct window_pane *wp,
     struct screen *s, u_int py, u_int ox, u_int oy)      struct screen *s, u_int py, u_int ox, u_int oy)
 {  {
         struct grid_cell         gc;          struct grid_cell         gc, tmp_gc;
         struct grid_line        *gl;          struct grid_line        *gl;
         u_int                    i, sx;          u_int                    i, sx;
         int                      flags;          int                      flags;
Line 687 
Line 687 
   
         for (i = 0; i < sx; i++) {          for (i = 0; i < sx; i++) {
                 grid_view_get_cell(s->grid, i, py, &gc);                  grid_view_get_cell(s->grid, i, py, &gc);
                 tty_cell(tty, &gc, wp);                  if (gc.flags & GRID_FLAG_SELECTED) {
                           screen_select_cell(s, &tmp_gc, &gc);
                           tty_cell(tty, &tmp_gc, wp);
                   } else
                           tty_cell(tty, &gc, wp);
         }          }
   
         if (sx < tty->sx) {          if (sx < tty->sx) {

Legend:
Removed from v.1.208  
changed lines
  Added in v.1.209