summary refs log tree commit diff stats
path: root/ranger/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/actions.py')
-rw-r--r--ranger/actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 3a06aff0..63d907e6 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -98,10 +98,10 @@ Both flags and mode specify how the program is run."""
 			return
 		self.execute_file(self.env.cf, app = 'editor')
 
-	def open_console(self, mode = ':'):
+	def open_console(self, mode=':', string=''):
 		"""Open the console if the current UI supports that"""
 		if hasattr(self.ui, 'open_console'):
-			self.ui.open_console(mode)
+			self.ui.open_console(mode, string)
 
 	def move_pointer(self, relative = 0, absolute = None):
 		"""Move the pointer down by <relative> or to <absolute>"""