aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2014-05-08 07:54:47 +0000
committernicm <nicm>2014-05-08 07:54:47 +0000
commit94ccc6aeaa72c84d66436d3f0cd23b4ab4d69c8e (patch)
tree5d3697e43eb2c8436d4dac7ba966b76c447a0ffc /tmux.h
parent189017c078b7870c18ced485c1fd99f65fcc4801 (diff)
downloadrtmux-94ccc6aeaa72c84d66436d3f0cd23b4ab4d69c8e.tar.gz
rtmux-94ccc6aeaa72c84d66436d3f0cd23b4ab4d69c8e.tar.bz2
rtmux-94ccc6aeaa72c84d66436d3f0cd23b4ab4d69c8e.zip
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index b0a37f25..04bbd935 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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