diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-08-22 20:06:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-08-22 20:06:15 +0000 |
commit | 034784e6ea13052da89aa8ecc9ac3100ba0ed040 (patch) | |
tree | 6de6e0534158a9c5d3427b9f12939f7f0809d1f9 /usr.bin/tmux/key-string.c | |
parent | 9cb1e3d600c6794911859bc053475f376e28b88b (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.c | 6 |
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) { |