diff options
author | 2012-05-28 07:59:07 +0000 | |
---|---|---|
committer | 2012-05-28 07:59:07 +0000 | |
commit | 19963857a00b5e64b78f1db625998795ea70f3f6 (patch) | |
tree | fefd0a07e476e45e03974bf584f460cde51c7c69 | |
parent | tweak tcpcib.4 Nd a little, and add it to pci.4; ok jsg (diff) | |
download | wireguard-openbsd-19963857a00b5e64b78f1db625998795ea70f3f6.tar.xz wireguard-openbsd-19963857a00b5e64b78f1db625998795ea70f3f6.zip |
Strip layout from choose-windows again (leave in list-windows),
suggested by Romain Francoise, diff from Thomas Adam.
-rw-r--r-- | usr.bin/tmux/cmd-list-windows.c | 6 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-list-windows.c b/usr.bin/tmux/cmd-list-windows.c index 941c3949a25..99b42519fc7 100644 --- a/usr.bin/tmux/cmd-list-windows.c +++ b/usr.bin/tmux/cmd-list-windows.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-windows.c,v 1.19 2012/05/22 11:35:37 nicm Exp $ */ +/* $OpenBSD: cmd-list-windows.c,v 1.20 2012/05/28 07:59:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -84,7 +84,9 @@ cmd_list_windows_session( if (template == NULL) { switch (type) { case 0: - template = DEFAULT_WINDOW_TEMPLATE; + template = DEFAULT_WINDOW_TEMPLATE \ + " [layout #{window_layout}] #{window_id}" \ + " #{?window_active, (active),}"; break; case 1: template = "#{session_name}:" DEFAULT_WINDOW_TEMPLATE; diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index b860debd647..f53e7a9077d 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.340 2012/05/27 21:43:57 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.341 2012/05/28 07:59:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -117,9 +117,7 @@ extern char **environ; #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),}" + "[#{window_width}x#{window_height}]" #define DEFAULT_PANE_INFO_TEMPLATE \ "#{session_name}:#{window_index}.#{pane_index}" |