summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-rotate-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/cmd-rotate-window.c')
-rw-r--r--usr.bin/tmux/cmd-rotate-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-rotate-window.c b/usr.bin/tmux/cmd-rotate-window.c
index 1b8ec77f52e..d18f704d6d3 100644
--- a/usr.bin/tmux/cmd-rotate-window.c
+++ b/usr.bin/tmux/cmd-rotate-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-rotate-window.c,v 1.7 2009/07/19 13:21:40 nicm Exp $ */
+/* $OpenBSD: cmd-rotate-window.c,v 1.8 2009/07/21 17:57:29 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -48,7 +48,7 @@ cmd_rotate_window_init(struct cmd *self, int key)
cmd_target_init(self, key);
data = self->data;
- if (key == KEYC_ADDESC('o'))
+ if (key == ('o' | KEYC_ESCAPE))
data->chflags |= CMD_CHFLAG('D');
}