diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-04-19 21:31:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-04-19 21:31:33 +0000 |
commit | 8738141913517ae50d71b17ec531ce9f85dceb4d (patch) | |
tree | 39260de50a4aa580a043ed1534c70969f59aecff /tmux.h | |
parent | 3970853febf1a371d68d27c331e81a2afe1a63bb (diff) |
When mode-mouse is on (it is off by default), automatically enter copy
mode when the mouse is dragged or the mouse wheel is used. Also exit
copy mode when the mouse wheel is scrolled off the bottom. Discussed
with and written by hsim at gmx dot li.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1081,6 +1081,7 @@ struct mouse_event { #define MOUSE_3 2 #define MOUSE_UP 3 #define MOUSE_BUTTON 3 +#define MOUSE_DRAG 32 #define MOUSE_45 64 u_int x; u_int y; @@ -1428,6 +1429,7 @@ void tty_cmd_clearstartofline(struct tty *, const struct tty_ctx *); void tty_cmd_clearstartofscreen(struct tty *, const struct tty_ctx *); void tty_cmd_deletecharacter(struct tty *, const struct tty_ctx *); void tty_cmd_deleteline(struct tty *, const struct tty_ctx *); +void tty_cmd_erasecharacter(struct tty *, const struct tty_ctx *); void tty_cmd_insertcharacter(struct tty *, const struct tty_ctx *); void tty_cmd_insertline(struct tty *, const struct tty_ctx *); void tty_cmd_linefeed(struct tty *, const struct tty_ctx *); |