version 1.334, 2012/05/22 10:56:48 |
version 1.335, 2012/05/22 11:35:37 |
|
|
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) |
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) |
#endif |
#endif |
|
|
|
/* Default format templates. */ |
|
#define DEFAULT_BUFFER_LIST_TEMPLATE \ |
|
"#{line}: #{buffer_size} bytes: \"#{buffer_sample}\"" |
|
#define DEFAULT_CLIENT_TEMPLATE \ |
|
"#{client_tty}: #{session_name} " \ |
|
"[#client_width}x#{client_height} #{client_termname}]" \ |
|
"{?client_utf8, (utf8),} #{?client_readonly, (ro),}" |
|
#define DEFAULT_DISPLAY_MESSAGE_TEMPLATE \ |
|
"[#{session_name}] #{window_index}:" \ |
|
"#{window_name}, current pane #{pane_index} " \ |
|
"- (%H:%M %d-%b-%y)" |
|
#define DEFAULT_FIND_WINDOW_TEMPLATE \ |
|
"#{window_index}: #{window_name} " \ |
|
"[#{window_width}x#{window_height}] " \ |
|
"(#{window_panes} panes) #{window_find_matches}" |
|
#define DEFAULT_SESSION_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),}" |
|
#define DEFAULT_WINDOW_TEMPLATE \ |
|
"#{window_index}: #{window_name}#{window_flags} " \ |
|
"(#{window_panes} panes) " \ |
|
"[#{window_width}x#{window_height}] " \ |
|
"[layout #{window_layout}] #{window_id}" \ |
|
"#{?window_active, (active),}" |
|
#define DEFAULT_PANE_INFO_TEMPLATE \ |
|
"#{session_name}:#{window_index}.#{pane_index}" |
|
|
/* Bell option values. */ |
/* Bell option values. */ |
#define BELL_NONE 0 |
#define BELL_NONE 0 |
#define BELL_ANY 1 |
#define BELL_ANY 1 |
|
|
void format_winlink( |
void format_winlink( |
struct format_tree *, struct session *, struct winlink *); |
struct format_tree *, struct session *, struct winlink *); |
void format_window_pane(struct format_tree *, struct window_pane *); |
void format_window_pane(struct format_tree *, struct window_pane *); |
|
void format_paste_buffer(struct format_tree *, struct paste_buffer *); |
|
|
/* mode-key.c */ |
/* mode-key.c */ |
extern const struct mode_key_table mode_key_tables[]; |
extern const struct mode_key_table mode_key_tables[]; |