summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-kill-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/cmd-kill-window.c')
-rw-r--r--usr.bin/tmux/cmd-kill-window.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-kill-window.c b/usr.bin/tmux/cmd-kill-window.c
index 1a2e2f7ff9b..b4a9eadef6f 100644
--- a/usr.bin/tmux/cmd-kill-window.c
+++ b/usr.bin/tmux/cmd-kill-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-kill-window.c,v 1.19 2015/12/13 21:53:57 nicm Exp $ */
+/* $OpenBSD: cmd-kill-window.c,v 1.20 2015/12/14 00:31:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -33,7 +33,9 @@ const struct cmd_entry cmd_kill_window_entry = {
.args = { "at:", 0, 0 },
.usage = "[-a] " CMD_TARGET_WINDOW_USAGE,
- .flags = CMD_WINDOW_T,
+ .tflag = CMD_WINDOW,
+
+ .flags = 0,
.exec = cmd_kill_window_exec
};
@@ -44,7 +46,9 @@ const struct cmd_entry cmd_unlink_window_entry = {
.args = { "kt:", 0, 0 },
.usage = "[-k] " CMD_TARGET_WINDOW_USAGE,
- .flags = CMD_WINDOW_T,
+ .tflag = CMD_WINDOW,
+
+ .flags = 0,
.exec = cmd_kill_window_exec
};