[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.222 and 1.223

version 1.222, 2019/12/26 14:48:29 version 1.223, 2020/01/12 21:07:07
Line 2346 
Line 2346 
         struct session  *s;          struct session  *s;
         const char      *name;          const char      *name;
         struct tty      *tty = &c->tty;          struct tty      *tty = &c->tty;
         const char      *types[] = TTY_TYPES;  
   
         if (ft->s == NULL)          if (ft->s == NULL)
                 ft->s = c->session;                  ft->s = c->session;
Line 2364 
Line 2363 
   
         if (tty->term_name != NULL)          if (tty->term_name != NULL)
                 format_add(ft, "client_termname", "%s", tty->term_name);                  format_add(ft, "client_termname", "%s", tty->term_name);
         if (tty->term_name != NULL)  
                 format_add(ft, "client_termtype", "%s", types[tty->term_type]);  
   
         format_add_tv(ft, "client_created", &c->creation_time);          format_add_tv(ft, "client_created", &c->creation_time);
         format_add_tv(ft, "client_activity", &c->activity_time);          format_add_tv(ft, "client_activity", &c->activity_time);

Legend:
Removed from v.1.222  
changed lines
  Added in v.1.223