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

Diff for /src/usr.bin/tmux/cmd-list-windows.c between version 1.18 and 1.19

version 1.18, 2012/01/30 20:39:56 version 1.19, 2012/05/22 11:35:37
Line 34 
Line 34 
   
 const struct cmd_entry cmd_list_windows_entry = {  const struct cmd_entry cmd_list_windows_entry = {
         "list-windows", "lsw",          "list-windows", "lsw",
         "aF:t:", 0, 0,          "F:at:", 0, 0,
         "[-a] [-F format] " CMD_TARGET_SESSION_USAGE,          "[-a] [-F format] " CMD_TARGET_SESSION_USAGE,
         0,          0,
         NULL,          NULL,
Line 84 
Line 84 
         if (template == NULL) {          if (template == NULL) {
                 switch (type) {                  switch (type) {
                 case 0:                  case 0:
                         template = "#{window_index}: "                          template = DEFAULT_WINDOW_TEMPLATE;
                             "#{window_name} "  
                             "[#{window_width}x#{window_height}] "  
                             "[layout #{window_layout}] #{window_id}"  
                             "#{?window_active, (active),}";  
                         break;                          break;
                 case 1:                  case 1:
                         template = "#{session_name}:#{window_index}: "                          template = "#{session_name}:" DEFAULT_WINDOW_TEMPLATE;
                             "#{window_name} "  
                             "[#{window_width}x#{window_height}] "  
                             "[layout #{window_layout}] #{window_id}"  
                             "#{?window_active, (active),}";  
                         break;                          break;
                 }                  }
         }          }

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