diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-11-15 23:21:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-11-15 23:21:52 +0000 |
commit | 7c9bc377a351db561322353848be2ffeffef84db (patch) | |
tree | 0c993f56b746645a324fbb5ffa1965c3b2af63da /cmd-list-panes.c | |
parent | 57df44291634e1083fccf29ecccc8b1793647e50 (diff) | |
download | rtmux-7c9bc377a351db561322353848be2ffeffef84db.tar.gz rtmux-7c9bc377a351db561322353848be2ffeffef84db.tar.bz2 rtmux-7c9bc377a351db561322353848be2ffeffef84db.zip |
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 d0942ad8..55559db7 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}" |