Instead of forcing mouse scroll to 1 in choose mode, scale it down

instead. Means modifier keys still increase the line count, just not as
much. Based on a diff from Marcel Partap.
This commit is contained in:
nicm
2014-05-08 07:54:47 +00:00
parent 189017c078
commit 94ccc6aeaa
3 changed files with 18 additions and 10 deletions

3
tmux.h
View File

@ -1130,6 +1130,9 @@ LIST_HEAD(tty_terms, tty_term);
#define MOUSE_WHEEL_UP 0
#define MOUSE_WHEEL_DOWN 1
/* Mouse wheel multipler. */
#define MOUSE_WHEEL_SCALE 3
/* Mouse event bits. */
#define MOUSE_EVENT_DOWN 0x1
#define MOUSE_EVENT_DRAG 0x2