summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-select-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/cmd-select-layout.c')
-rw-r--r--usr.bin/tmux/cmd-select-layout.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-select-layout.c b/usr.bin/tmux/cmd-select-layout.c
index 17bcc406306..cb3263aeafe 100644
--- a/usr.bin/tmux/cmd-select-layout.c
+++ b/usr.bin/tmux/cmd-select-layout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-select-layout.c,v 1.27 2015/12/13 21:53:57 nicm Exp $ */
+/* $OpenBSD: cmd-select-layout.c,v 1.28 2015/12/14 00:31:54 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -35,7 +35,9 @@ const struct cmd_entry cmd_select_layout_entry = {
.args = { "nopt:", 0, 1 },
.usage = "[-nop] " CMD_TARGET_WINDOW_USAGE " [layout-name]",
- .flags = CMD_WINDOW_T,
+ .tflag = CMD_WINDOW,
+
+ .flags = 0,
.exec = cmd_select_layout_exec
};
@@ -46,7 +48,9 @@ const struct cmd_entry cmd_next_layout_entry = {
.args = { "t:", 0, 0 },
.usage = CMD_TARGET_WINDOW_USAGE,
- .flags = CMD_WINDOW_T,
+ .tflag = CMD_WINDOW,
+
+ .flags = 0,
.exec = cmd_select_layout_exec
};
@@ -57,7 +61,9 @@ const struct cmd_entry cmd_previous_layout_entry = {
.args = { "t:", 0, 0 },
.usage = CMD_TARGET_WINDOW_USAGE,
- .flags = CMD_WINDOW_T,
+ .tflag = CMD_WINDOW,
+
+ .flags = 0,
.exec = cmd_select_layout_exec
};