summary refs log tree commit diff stats
path: root/ranger/gui/widgets/filelistcontainer.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/gui/widgets/filelistcontainer.py')
-rw-r--r--ranger/gui/widgets/filelistcontainer.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ranger/gui/widgets/filelistcontainer.py b/ranger/gui/widgets/filelistcontainer.py
index 7b52a641..b5ef4190 100644
--- a/ranger/gui/widgets/filelistcontainer.py
+++ b/ranger/gui/widgets/filelistcontainer.py
@@ -74,6 +74,15 @@ class FileListContainer(Widget, DisplayableContainer):
 
 			left += wid
 	
+	def click(self, event):
+		n = event.ctrl() and 1 or 3
+		if event.pressed(4):
+			self.fm.scroll(relative = -n)
+		elif event.pressed(2) or event.key_invalid():
+			self.fm.scroll(relative = n)
+		else:
+			DisplayableContainer.click(self, event)
+	
 	def open_pager(self):
 		self.pager.activate(True)
 		self.pager.open()
mmit/CHANGELOG?h=v1.5.1&id=cbcd332596c53b43c06206a35b7830223a0bf411'>cbcd3325 ^
d3bcb234 ^

cbcd3325 ^
81f5ac9e ^











cbcd3325 ^
90018274 ^




cbcd3325 ^
95e021ae ^

c928a9eb ^
95e021ae ^
cbcd3325 ^
95e021ae ^















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85