diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2014-06-15 04:32:21 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-06-15 04:32:21 +0900 |
commit | f58a53a001732a0e753cef08fe43b4dc5abb518c (patch) | |
tree | 1a14913b94be492de7c7a79913fa8a15ac04f7e3 | |
parent | 65c1b5327539c6d72392a90ab710443a04fd4e21 (diff) |
Fix mouse click on --reverse mode
-rwxr-xr-x | fzf | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -954,6 +954,7 @@ class FZF case event when :click, :release x, y, shift = val.values_at :x, :y, :shift + y = @reverse ? (C.lines - 1 - y) : y if y == cursor_y cursor = [0, [input.length, x - 2].min].max elsif x > 1 && y <= max_items |