summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/pager.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index 5e9ef3c8..48492573 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -90,7 +90,13 @@ class Pager(Widget):
 
 		self.scroll_begin = i
 	
-	def move_horizontal(self, relative=0, absolute=None):
+	def move_horizontal(self, relative=0, absolute=None, narg=None):
+		if narg is not None:
+			if absolute is None:
+				relative = relative < 0 and -narg or narg
+			else:
+				absolute = narg
+
 		self.startx = move_between(
 				current=self.startx,
 				minimum=0,
ef='#n106'>106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138