[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.21 and 1.22

version 1.21, 2012/01/29 09:37:02 version 1.22, 2012/05/23 19:19:40
Line 202 
Line 202 
         }          }
   
         /* Set up pane border attributes. */          /* Set up pane border attributes. */
         memcpy(&other_gc, &grid_default_cell, sizeof other_gc);          memcpy(&other_gc, &grid_marker_cell, sizeof other_gc);
         memcpy(&active_gc, &grid_default_cell, sizeof active_gc);          memcpy(&active_gc, &grid_marker_cell, sizeof active_gc);
         active_gc.data = other_gc.data = 'x'; /* not space */  
         active_gc.attr = other_gc.attr = GRID_ATTR_CHARSET;          active_gc.attr = other_gc.attr = GRID_ATTR_CHARSET;
         fg = options_get_number(oo, "pane-border-fg");          fg = options_get_number(oo, "pane-border-fg");
         colour_set_fg(&other_gc, fg);          colour_set_fg(&other_gc, fg);
Line 317 
Line 316 
         px -= len * 3;          px -= len * 3;
         py -= 2;          py -= 2;
   
         memcpy(&gc, &grid_default_cell, sizeof gc);          memcpy(&gc, &grid_marker_cell, sizeof gc);
         gc.data = '_'; /* not space */  
         if (w->active == wp)          if (w->active == wp)
                 colour_set_bg(&gc, active_colour);                  colour_set_bg(&gc, active_colour);
         else          else
Line 345 
Line 343 
         tty_cursor(tty, xoff + wp->sx - len, yoff);          tty_cursor(tty, xoff + wp->sx - len, yoff);
   
 draw_text:  draw_text:
         memcpy(&gc, &grid_default_cell, sizeof gc);          memcpy(&gc, &grid_marker_cell, sizeof gc);
         gc.data = '_'; /* not space */  
         if (w->active == wp)          if (w->active == wp)
                 colour_set_fg(&gc, active_colour);                  colour_set_fg(&gc, active_colour);
         else          else

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22