[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.72 and 1.73

version 1.72, 2009/11/26 14:46:08 version 1.73, 2009/11/26 21:37:13
Line 38 
Line 38 
   
 void    tty_colours(struct tty *, const struct grid_cell *, int *);  void    tty_colours(struct tty *, const struct grid_cell *, int *);
 void    tty_colours_fg(struct tty *, const struct grid_cell *, int *);  void    tty_colours_fg(struct tty *, const struct grid_cell *, int *);
 void    tty_colours_bg(struct tty *, const struct grid_cell *, int *);  void    tty_colours_bg(struct tty *, const struct grid_cell *);
   
 void    tty_redraw_region(struct tty *, const struct tty_ctx *);  void    tty_redraw_region(struct tty *, const struct tty_ctx *);
 void    tty_emulate_repeat(  void    tty_emulate_repeat(
Line 125 
Line 125 
         return (0);          return (0);
 }  }
   
   /* ARGSUSED */
 void  void
 tty_read_callback(unused struct bufferevent *bufev, void *data)  tty_read_callback(unused struct bufferevent *bufev, void *data)
 {  {
Line 134 
Line 135 
                 ;                  ;
 }  }
   
   /* ARGSUSED */
 void  void
 tty_error_callback(  tty_error_callback(
     unused struct bufferevent *bufev, unused short what, unused void *data)      unused struct bufferevent *bufev, unused short what, unused void *data)
Line 1278 
Line 1280 
          */           */
         if (!bg_default && (bg != tc->bg ||          if (!bg_default && (bg != tc->bg ||
             ((flags & GRID_FLAG_BG256) != (tc->flags & GRID_FLAG_BG256))))              ((flags & GRID_FLAG_BG256) != (tc->flags & GRID_FLAG_BG256))))
                 tty_colours_bg(tty, gc, attr);                  tty_colours_bg(tty, gc);
 }  }
   
 void  void
Line 1315 
Line 1317 
 }  }
   
 void  void
 tty_colours_bg(struct tty *tty, const struct grid_cell *gc, unused int *attr)  tty_colours_bg(struct tty *tty, const struct grid_cell *gc)
 {  {
         struct grid_cell        *tc = &tty->cell;          struct grid_cell        *tc = &tty->cell;
         u_char                   bg = gc->bg;          u_char                   bg = gc->bg;

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73