aboutsummaryrefslogtreecommitdiff
path: root/popup.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-15 12:16:41 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-15 12:16:41 +0100
commit340fd691cbd6f575fc1169269dfa675f30ce71d3 (patch)
tree15d3aa92656e6fe413bd2e74b47c9ebb20edafb1 /popup.c
parent031d4864a94cd7c042fe96a2d236bccde83655e7 (diff)
downloadrtmux-340fd691cbd6f575fc1169269dfa675f30ce71d3.tar.gz
rtmux-340fd691cbd6f575fc1169269dfa675f30ce71d3.tar.bz2
rtmux-340fd691cbd6f575fc1169269dfa675f30ce71d3.zip
Separate key flags and modifiers, log key flags, make the "xterm" flag more
explicit and fix M- keys with a leading escape.
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/popup.c b/popup.c
index 8d88c99f..6f2ab101 100644
--- a/popup.c
+++ b/popup.c
@@ -340,7 +340,7 @@ popup_key_cb(struct client *c, struct key_event *event)
format_defaults(ft, c, fs->s, fs->wl, fs->wp);
else
format_defaults(ft, c, NULL, NULL, NULL);
- format_add(ft, "popup_key", "%s", key_string_lookup_key(event->key));
+ format_add(ft, "popup_key", "%s", key_string_lookup_key(event->key, 0));
if (KEYC_IS_MOUSE(event->key)) {
format_add(ft, "popup_mouse", "1");
format_add(ft, "popup_mouse_x", "%u", m->x - pd->px);