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

Diff for /src/usr.bin/tmux/screen-write.c between version 1.90 and 1.91

version 1.90, 2016/06/06 07:28:52 version 1.91, 2016/07/15 00:42:56
Line 34 
Line 34 
                     const struct utf8_data *);                      const struct utf8_data *);
   
 static const struct grid_cell screen_write_pad_cell = {  static const struct grid_cell screen_write_pad_cell = {
         GRID_FLAG_PADDING, 0, { .fg = 8 }, { .bg = 8 }, { { 0 }, 0, 0, 0 }          GRID_FLAG_PADDING, 0, 8, 8, { { 0 }, 0, 0, 0 }
 };  };
   
 /* Initialise writing with a window. */  /* Initialise writing with a window. */
Line 1031 
Line 1031 
                 tmp_gc.attr = tmp_gc.attr & ~GRID_ATTR_CHARSET;                  tmp_gc.attr = tmp_gc.attr & ~GRID_ATTR_CHARSET;
                 tmp_gc.attr |= gc->attr & GRID_ATTR_CHARSET;                  tmp_gc.attr |= gc->attr & GRID_ATTR_CHARSET;
                 tmp_gc.flags = gc->flags;                  tmp_gc.flags = gc->flags;
                 tmp_gc.flags &= ~(GRID_FLAG_FGRGB|GRID_FLAG_BGRGB);  
                 tmp_gc.flags &= ~(GRID_FLAG_FG256|GRID_FLAG_BG256);  
                 tmp_gc.flags |= s->sel.cell.flags &  
                     (GRID_FLAG_FG256|GRID_FLAG_BG256);  
                 ttyctx.cell = &tmp_gc;                  ttyctx.cell = &tmp_gc;
                 tty_write(tty_cmd_cell, &ttyctx);                  tty_write(tty_cmd_cell, &ttyctx);
         } else if (!skip) {          } else if (!skip) {

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91