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

Diff for /src/usr.bin/tmux/status.c between version 1.86 and 1.87

version 1.86, 2012/01/26 09:05:54 version 1.87, 2012/01/29 09:37:02
Line 60 
Line 60 
         return (strcmp(so1->cmd, so2->cmd));          return (strcmp(so1->cmd, so2->cmd));
 }  }
   
   /* Get screen line of status line. -1 means off. */
   int
   status_at_line(struct client *c)
   {
           struct session  *s = c->session;
   
           if (!options_get_number(&s->options, "status"))
                   return (-1);
   
           if (options_get_number(&s->options, "status-position") == 0)
                   return (0);
           return (c->tty.sy - 1);
   }
   
 /* Retrieve options for left string. */  /* Retrieve options for left string. */
 char *  char *
 status_redraw_get_left(struct client *c,  status_redraw_get_left(struct client *c,

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87