diff options
author | 2018-08-22 20:06:14 +0000 | |
---|---|---|
committer | 2018-08-22 20:06:14 +0000 | |
commit | bba16f07e6cb778ee551aac985dcc3b74eeb23b2 (patch) | |
tree | 1a836a7356aabf28f349efcce5985f2c297cf1bc /usr.bin/tmux/tmux.h | |
parent | frag6_slowtimo: push NET_LOCK into frag6_freef around icmp6_error. (diff) | |
download | wireguard-openbsd-bba16f07e6cb778ee551aac985dcc3b74eeb23b2.tar.xz wireguard-openbsd-bba16f07e6cb778ee551aac985dcc3b74eeb23b2.zip |
Add StatusLeft and StatusRight mouse key modifiers for the left and
right parts of the status line.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 83989cbceee..939d80e0f5e 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.842 2018/08/20 20:41:58 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.843 2018/08/22 20:06:14 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -116,13 +116,17 @@ struct tmuxproc; #define KEYC_CLICK_TIMEOUT 300 /* Mouse key codes. */ -#define KEYC_MOUSE_KEY(name) \ - KEYC_ ## name ## _PANE, \ - KEYC_ ## name ## _STATUS, \ +#define KEYC_MOUSE_KEY(name) \ + KEYC_ ## name ## _PANE, \ + KEYC_ ## name ## _STATUS, \ + KEYC_ ## name ## _STATUS_LEFT, \ + KEYC_ ## name ## _STATUS_RIGHT, \ KEYC_ ## name ## _BORDER -#define KEYC_MOUSE_STRING(name, s) \ - { #s "Pane", KEYC_ ## name ## _PANE }, \ - { #s "Status", KEYC_ ## name ## _STATUS }, \ +#define KEYC_MOUSE_STRING(name, s) \ + { #s "Pane", KEYC_ ## name ## _PANE }, \ + { #s "Status", KEYC_ ## name ## _STATUS }, \ + { #s "StatusLeft", KEYC_ ## name ## _STATUS_LEFT }, \ + { #s "StatusRight", KEYC_ ## name ## _STATUS_RIGHT }, \ { #s "Border", KEYC_ ## name ## _BORDER } /* @@ -1283,6 +1287,9 @@ struct status_line { struct screen *old_status; int window_list_offset; + + u_int left_size; + u_int right_size; }; /* Client connection. */ |