[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.123 and 1.124

version 1.123, 2017/03/08 13:36:12 version 1.124, 2017/04/05 10:49:46
Line 1139 
Line 1139 
         if (ft->s == NULL)          if (ft->s == NULL)
                 ft->s = c->session;                  ft->s = c->session;
   
           format_add(ft, "client_name", "%s", c->name);
         format_add(ft, "client_pid", "%ld", (long) c->pid);          format_add(ft, "client_pid", "%ld", (long) c->pid);
         format_add(ft, "client_height", "%u", tty->sy);          format_add(ft, "client_height", "%u", tty->sy);
         format_add(ft, "client_width", "%u", tty->sx);          format_add(ft, "client_width", "%u", tty->sx);
         if (tty->path != NULL)          format_add(ft, "client_tty", "%s", c->ttyname);
                 format_add(ft, "client_tty", "%s", tty->path);  
         format_add(ft, "client_control_mode", "%d",          format_add(ft, "client_control_mode", "%d",
                 !!(c->flags & CLIENT_CONTROL));                  !!(c->flags & CLIENT_CONTROL));
   

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.124