[BACK]Return to tmux.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.h between version 1.350 and 1.351

version 1.350, 2012/08/11 06:45:33 version 1.351, 2012/08/14 08:51:53
Line 92 
Line 92 
 #define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))  #define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
 #endif  #endif
   
 /* Default format templates. */  /* Default template for choose-buffer. */
 #define DEFAULT_BUFFER_LIST_TEMPLATE                            \  #define CHOOSE_BUFFER_TEMPLATE                                  \
         "#{line}: #{buffer_size} bytes: \"#{buffer_sample}\""          "#{line}: #{buffer_size} bytes: \"#{buffer_sample}\""
 #define DEFAULT_CLIENT_TEMPLATE                                 \  
   /* Default template for choose-client. */
   #define CHOOSE_CLIENT_TEMPLATE                                  \
         "#{client_tty}: #{session_name} "                       \          "#{client_tty}: #{session_name} "                       \
         "[#{client_width}x#{client_height} #{client_termname}]" \          "[#{client_width}x#{client_height} #{client_termname}]" \
         "#{?client_utf8, (utf8),} #{?client_readonly, (ro),}"          "#{?client_utf8, (utf8),} #{?client_readonly, (ro),}"
 #define DEFAULT_DISPLAY_MESSAGE_TEMPLATE                        \  
   /* Default templates for choose-tree. */
   #define CHOOSE_TREE_SESSION_TEMPLATE                            \
           "#{session_name}: #{session_windows} windows "          \
           "#{?session_grouped, (group ,}"                         \
           "#{session_group}#{?session_grouped,),}"                \
           "#{?session_attached, (attached),}"
   #define CHOOSE_TREE_WINDOW_TEMPLATE                             \
           "#{window_index}: #{window_name}#{window_flags} "       \
           "\"#{pane_title}\""
   
   /* Default template for display-message. */
   #define DISPLAY_MESSAGE_TEMPLATE                                \
         "[#{session_name}] #{window_index}:"                    \          "[#{session_name}] #{window_index}:"                    \
         "#{window_name}, current pane #{pane_index} "           \          "#{window_name}, current pane #{pane_index} "           \
         "- (%H:%M %d-%b-%y)"          "- (%H:%M %d-%b-%y)"
 #define DEFAULT_FIND_WINDOW_TEMPLATE                            \  
   /* Default template for find-window. */
   #define FIND_WINDOW_TEMPLATE                                    \
         "#{window_index}: #{window_name} "                      \          "#{window_index}: #{window_name} "                      \
         "[#{window_width}x#{window_height}] "                   \          "[#{window_width}x#{window_height}] "                   \
         "(#{window_panes} panes) #{window_find_matches}"          "(#{window_panes} panes) #{window_find_matches}"
 #define DEFAULT_SESSION_TEMPLATE \  
   /* Default template for list-buffers. */
   #define LIST_BUFFERS_TEMPLATE                                   \
           "#{line}: #{buffer_size} bytes: \"#{buffer_sample}\""
   
   /* Default template for list-clients. */
   #define LIST_CLIENTS_TEMPLATE                                   \
           "#{client_tty}: #{session_name} "                       \
           "[#{client_width}x#{client_height} #{client_termname}]" \
           "#{?client_utf8, (utf8),} #{?client_readonly, (ro),}"
   
   /* Default template for list-sessions. */
   #define LIST_SESSIONS_TEMPLATE                                  \
         "#{session_name}: #{session_windows} windows "          \          "#{session_name}: #{session_windows} windows "          \
         "(created #{session_created_string}) "                  \          "(created #{session_created_string}) "                  \
         "[#{session_width}x#{session_height}]"                  \          "[#{session_width}x#{session_height}]"                  \
         "#{?session_grouped, (group ,}"                         \          "#{?session_grouped, (group ,}"                         \
         "#{session_group}#{?session_grouped,),}"                \          "#{session_group}#{?session_grouped,),}"                \
         "#{?session_attached, (attached),}"          "#{?session_attached, (attached),}"
 #define DEFAULT_WINDOW_TEMPLATE                                 \  
   /* Default templates for list-windows. */
   #define LIST_WINDOWS_TEMPLATE                                   \
         "#{window_index}: #{window_name}#{window_flags} "       \          "#{window_index}: #{window_name}#{window_flags} "       \
         "(#{window_panes} panes) "                              \          "(#{window_panes} panes) "                              \
         "[#{window_width}x#{window_height}]"          "[#{window_width}x#{window_height}] "                   \
 #define DEFAULT_PANE_INFO_TEMPLATE                              \          "[layout #{window_layout}] #{window_id}"                \
         "#{session_name}:#{window_index}.#{pane_index}"          "#{?window_active, (active),}";
   #define LIST_WINDOWS_WITH_SESSION_TEMPLATE                      \
           "#{session_name}: "                                     \
           "#{window_index}: #{window_name}#{window_flags} "       \
           "(#{window_panes} panes) "                              \
           "[#{window_width}x#{window_height}] "
   
   /* Default templates for break-pane, new-window and split-window. */
   #define BREAK_PANE_TEMPLATE "#{session_name}:#{window_index}.#{pane_index}"
   #define NEW_WINDOW_TEMPLATE BREAK_PANE_TEMPLATE
   #define SPLIT_WINDOW_TEMPLATE BREAK_PANE_TEMPLATE
   
 /* Bell option values. */  /* Bell option values. */
 #define BELL_NONE 0  #define BELL_NONE 0

Legend:
Removed from v.1.350  
changed lines
  Added in v.1.351