[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.33 and 1.34

version 1.33, 2013/10/10 12:04:01 version 1.34, 2013/10/10 12:26:35
Line 403 
Line 403 
         time_t           t;          time_t           t;
         struct session  *s;          struct session  *s;
   
         format_add(ft, "client_cwd", "%s", c->cwd);  
         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)
Line 552 
Line 551 
         format_add(ft, "pane_pid", "%ld", (long) wp->pid);          format_add(ft, "pane_pid", "%ld", (long) wp->pid);
         if (wp->cmd != NULL)          if (wp->cmd != NULL)
                 format_add(ft, "pane_start_command", "%s", wp->cmd);                  format_add(ft, "pane_start_command", "%s", wp->cmd);
         if (wp->cwd != NULL)  
                 format_add(ft, "pane_start_path", "%s", wp->cwd);  
         if ((cwd = get_proc_cwd(wp->fd)) != NULL)          if ((cwd = get_proc_cwd(wp->fd)) != NULL)
                 format_add(ft, "pane_current_path", "%s", cwd);                  format_add(ft, "pane_current_path", "%s", cwd);
         if ((cmd = get_proc_name(wp->fd, wp->tty)) != NULL) {          if ((cmd = get_proc_name(wp->fd, wp->tty)) != NULL) {

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34