diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-11-25 13:31:56 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-11-25 13:31:56 +0000 |
commit | 5cc3d50289830d171ebb2e548c0f1246bfc57826 (patch) | |
tree | 1c487047828210df255b5ef27791e48e6b55f1de /cmd-list-panes.c | |
parent | 9ec457575d0db6450d8a436426b4a705c49285aa (diff) | |
download | rtmux-5cc3d50289830d171ebb2e548c0f1246bfc57826.tar.gz rtmux-5cc3d50289830d171ebb2e548c0f1246bfc57826.tar.bz2 rtmux-5cc3d50289830d171ebb2e548c0f1246bfc57826.zip |
Sync OpenBSD patchset 980:
Add a pane_index format string and use it, from Ben Boeckel.
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r-- | cmd-list-panes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c index 723c7039..7331abd3 100644 --- a/cmd-list-panes.c +++ b/cmd-list-panes.c @@ -102,21 +102,21 @@ cmd_list_panes_window(struct cmd *self, if (template == NULL) { switch (type) { case 0: - template = "#{line}: " + template = "#{pane_index}: " "[#{pane_width}x#{pane_height}] [history " "#{history_size}/#{history_limit}, " "#{history_bytes} bytes] #{pane_id}" "#{?pane_active, (active),}#{?pane_dead, (dead),}"; break; case 1: - template = "#{window_index}.#{line}: " + template = "#{window_index}.#{pane_index}: " "[#{pane_width}x#{pane_height}] [history " "#{history_size}/#{history_limit}, " "#{history_bytes} bytes] #{pane_id}" "#{?pane_active, (active),}#{?pane_dead, (dead),}"; break; case 2: - template = "#{session_name}:#{window_index}.#{line}: " + template = "#{session_name}:#{window_index}.#{pane_index}: " "[#{pane_width}x#{pane_height}] [history " "#{history_size}/#{history_limit}, " "#{history_bytes} bytes] #{pane_id}" |