summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/key-string.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-08-22 20:06:15 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-08-22 20:06:15 +0000
commit034784e6ea13052da89aa8ecc9ac3100ba0ed040 (patch)
tree6de6e0534158a9c5d3427b9f12939f7f0809d1f9 /usr.bin/tmux/key-string.c
parent9cb1e3d600c6794911859bc053475f376e28b88b (diff)
Add StatusLeft and StatusRight mouse key modifiers for the left and
right parts of the status line.
Diffstat (limited to 'usr.bin/tmux/key-string.c')
-rw-r--r--usr.bin/tmux/key-string.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/key-string.c b/usr.bin/tmux/key-string.c
index 21d32e6b5ed..bf10589afd2 100644
--- a/usr.bin/tmux/key-string.c
+++ b/usr.bin/tmux/key-string.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key-string.c,v 1.48 2018/07/16 08:48:22 nicm Exp $ */
+/* $OpenBSD: key-string.c,v 1.49 2018/08/22 20:06:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -271,6 +271,10 @@ key_string_lookup_key(key_code key)
return ("MouseMovePane");
if (key == KEYC_MOUSEMOVE_STATUS)
return ("MouseMoveStatus");
+ if (key == KEYC_MOUSEMOVE_STATUS_LEFT)
+ return ("MouseMoveStatusLeft");
+ if (key == KEYC_MOUSEMOVE_STATUS_RIGHT)
+ return ("MouseMoveStatusRight");
if (key == KEYC_MOUSEMOVE_BORDER)
return ("MouseMoveBorder");
if (key >= KEYC_USER && key < KEYC_USER + KEYC_NUSER) {