diff options
author | nicm <nicm> | 2018-08-22 20:06:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-08-22 20:06:14 +0000 |
commit | 55db3623bf7084a161d457f0c0b891a46a444a77 (patch) | |
tree | c11375792c9c9cf1d590b08af91616497cfe84e4 /tmux.h | |
parent | 98a478ceb3d4b8f6d1951b0b12891e54abee96d0 (diff) | |
download | rtmux-55db3623bf7084a161d457f0c0b891a46a444a77.tar.gz rtmux-55db3623bf7084a161d457f0c0b891a46a444a77.tar.bz2 rtmux-55db3623bf7084a161d457f0c0b891a46a444a77.zip |
Add StatusLeft and StatusRight mouse key modifiers for the left and
right parts of the status line.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -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. */ |