summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-list-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-07-06 07:27:39 +0000
committernicm <nicm@openbsd.org>2020-07-06 07:27:39 +0000
commit7dbc90717c10f9c6368d4b6bceda76fad181fc55 (patch)
tree07b6bce39ae5d7b48dd438a968bba58940cf1b5b /usr.bin/tmux/cmd-list-keys.c
parentFix pmap_pted_ro() such that it actually takes away PROT_EXEC when asked to (diff)
downloadwireguard-openbsd-7dbc90717c10f9c6368d4b6bceda76fad181fc55.tar.xz
wireguard-openbsd-7dbc90717c10f9c6368d4b6bceda76fad181fc55.zip
Always send xterm-style keys for M-Left and M-Right. GitHub issue 2296.
Diffstat (limited to 'usr.bin/tmux/cmd-list-keys.c')
-rw-r--r--usr.bin/tmux/cmd-list-keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-list-keys.c b/usr.bin/tmux/cmd-list-keys.c
index 4b16526649c..410a1a45cea 100644
--- a/usr.bin/tmux/cmd-list-keys.c
+++ b/usr.bin/tmux/cmd-list-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-list-keys.c,v 1.59 2020/05/16 16:35:13 nicm Exp $ */
+/* $OpenBSD: cmd-list-keys.c,v 1.60 2020/07/06 07:27:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -164,6 +164,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item)
cmdq_error(item, "invalid key: %s", args->argv[0]);
return (CMD_RETURN_ERROR);
}
+ only &= KEYC_MASK_KEY;
}
tablename = args_get(args, 'T');