diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-08-14 08:51:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-08-14 08:51:53 +0000 |
commit | 73c678553809956f428fec9db3210a5576d5883f (patch) | |
tree | 576d926080da3b1404e05ada18435e6ea062a98e /cmd-list-windows.c | |
parent | 6804d5841e53a38e2d4a8d574bcece384efa9499 (diff) | |
download | rtmux-73c678553809956f428fec9db3210a5576d5883f.tar.gz rtmux-73c678553809956f428fec9db3210a5576d5883f.tar.bz2 rtmux-73c678553809956f428fec9db3210a5576d5883f.zip |
Use a separate define for each default format template and strip clutter
from the choose-tree defaults.
Diffstat (limited to 'cmd-list-windows.c')
-rw-r--r-- | cmd-list-windows.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd-list-windows.c b/cmd-list-windows.c index 62ae6b11..146d29aa 100644 --- a/cmd-list-windows.c +++ b/cmd-list-windows.c @@ -85,12 +85,10 @@ cmd_list_windows_session( if (template == NULL) { switch (type) { case 0: - template = DEFAULT_WINDOW_TEMPLATE \ - " [layout #{window_layout}] #{window_id}" \ - "#{?window_active, (active),}"; + template = LIST_WINDOWS_TEMPLATE; break; case 1: - template = "#{session_name}:" DEFAULT_WINDOW_TEMPLATE; + template = LIST_WINDOWS_WITH_SESSION_TEMPLATE; break; } } |