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

Diff for /src/usr.bin/tmux/format.c between version 1.71 and 1.72

version 1.71, 2015/06/10 12:56:04 version 1.72, 2015/06/14 10:07:44
Line 271 
Line 271 
                         *ptr = '\0';                          *ptr = '\0';
                 format_add(ft, "host_short", "%s", host);                  format_add(ft, "host_short", "%s", host);
         }          }
           format_add(ft, "pid", "%ld", (long) getpid());
   
         return (ft);          return (ft);
 }  }
Line 703 
Line 704 
         if (ft->s == NULL)          if (ft->s == NULL)
                 ft->s = c->session;                  ft->s = c->session;
   
           format_add(ft, "client_pid", "%ld", (long) c->pid);
         format_add(ft, "client_height", "%u", c->tty.sy);          format_add(ft, "client_height", "%u", c->tty.sy);
         format_add(ft, "client_width", "%u", c->tty.sx);          format_add(ft, "client_width", "%u", c->tty.sx);
         if (c->tty.path != NULL)          if (c->tty.path != NULL)

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