aboutsummaryrefslogtreecommitdiff
path: root/cmd-next-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-next-window.c')
-rw-r--r--cmd-next-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-next-window.c b/cmd-next-window.c
index f0f8d18e..b7608f33 100644
--- a/cmd-next-window.c
+++ b/cmd-next-window.c
@@ -48,7 +48,7 @@ cmd_next_window_init(struct cmd *self, int key)
cmd_target_init(self, key);
data = self->data;
- if (key == KEYC_ADDESC('n'))
+ if (key == ('n' | KEYC_ESCAPE))
data->chflags |= CMD_CHFLAG('a');
}