[BACK]Return to cmd-list-sessions.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-list-sessions.c between version 1.10 and 1.11

version 1.10, 2011/08/26 10:53:16 version 1.11, 2012/05/22 11:35:37
Line 49 
Line 49 
         const char              *template;          const char              *template;
         char                    *line;          char                    *line;
   
         template = args_get(args, 'F');          if ((template = args_get(args, 'F')) == NULL)
         if (template == NULL) {                  template = DEFAULT_SESSION_TEMPLATE;
                 template = "#{session_name}: #{session_windows} windows "  
                     "(created #{session_created_string}) [#{session_width}x"  
                     "#{session_height}]#{?session_grouped, (group ,}"  
                     "#{session_group}#{?session_grouped,),}"  
                     "#{?session_attached, (attached),}";  
         }  
   
         n = 0;          n = 0;
         RB_FOREACH(s, sessions, &sessions) {          RB_FOREACH(s, sessions, &sessions) {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11