[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.34 and 1.35

version 1.34, 2013/10/10 12:26:35 version 1.35, 2013/10/10 12:35:31
Line 553 
Line 553 
                 format_add(ft, "pane_start_command", "%s", wp->cmd);                  format_add(ft, "pane_start_command", "%s", wp->cmd);
         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 = format_get_command(wp)) != NULL) {
                 format_add(ft, "pane_current_command", "%s", cmd);                  format_add(ft, "pane_current_command", "%s", cmd);
                 free(cmd);                  free(cmd);
         }          }

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