[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.17 and 1.18

version 1.17, 2013/03/24 09:19:51 version 1.18, 2013/03/24 09:23:00
Line 411 
Line 411 
                 format_add(ft, "pane_start_path", "%s", wp->cwd);                  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 = osdep_get_name(wp->fd, wp->tty)) != NULL)          if ((cmd = get_proc_name(wp->fd, wp->tty)) != NULL)
                 format_add(ft, "pane_current_command", "%s", cmd);                  format_add(ft, "pane_current_command", "%s", cmd);
   
         format_add(ft, "cursor_x", "%d", wp->base.cx);          format_add(ft, "cursor_x", "%d", wp->base.cx);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18