Sync OpenBSD patchset 1124:

Fix client templates, from Romain Francoise.
This commit is contained in:
Tiago Cunha 2012-05-30 13:44:13 +00:00
parent 169d362945
commit 30b23baaf5

4
tmux.h
View File

@ -93,8 +93,8 @@ extern char **environ;
"#{line}: #{buffer_size} bytes: \"#{buffer_sample}\"" "#{line}: #{buffer_size} bytes: \"#{buffer_sample}\""
#define DEFAULT_CLIENT_TEMPLATE \ #define DEFAULT_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 \ #define DEFAULT_DISPLAY_MESSAGE_TEMPLATE \
"[#{session_name}] #{window_index}:" \ "[#{session_name}] #{window_index}:" \
"#{window_name}, current pane #{pane_index} " \ "#{window_name}, current pane #{pane_index} " \