about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-11-15 20:56:34 +0100
committerhut <hut@lavabit.com>2011-11-15 20:56:34 +0100
commitbd7d4f042e387250f3c164a2d7e154a5bf3ff602 (patch)
tree2469eae4458b5cae8899e9b71a0fa22dd632ff48
parentbe25337b3ab0ab5841346ddc7973e8a3fc57ce7d (diff)
downloadranger-bd7d4f042e387250f3c164a2d7e154a5bf3ff602.tar.gz
core.actions: Disable visual mode when opening console
-rw-r--r--ranger/core/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index d3f74e5c..dbfba502 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -129,7 +129,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		self.ui.redraw_window()
 
 	def open_console(self, string='', prompt=None, position=None):
-		"""Open the console if the current UI supports that"""
+		"""Open the console"""
+		self.change_mode('normal')
 		self.ui.open_console(string, prompt=prompt, position=position)
 
 	def execute_console(self, string='', wildcards=[], quantifier=None):