summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-04 14:32:43 +0100
committerhut <hut@lavabit.com>2013-03-04 14:32:43 +0100
commit69950954a9f1041ec0f494571250f10ff2fb7c77 (patch)
tree5cea090ed4f72ce9d0ecaaf60a10f095b0d97681
parent9a12f613d0e26edd3c8650522237bebc359c34d7 (diff)
downloadranger-69950954a9f1041ec0f494571250f10ff2fb7c77.tar.gz
core.runner: dont switch to console when using "s" flag
-rw-r--r--ranger/core/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py
index 769c0911..d449f540 100644
--- a/ranger/core/runner.py
+++ b/ranger/core/runner.py
@@ -161,6 +161,7 @@ class Runner(object):
             devnull_readable = open(os.devnull, 'r')
             for key in ('stdout', 'stderr'):
                 popen_kws[key] = devnull_writable
+            toggle_ui = False
             popen_kws['stdin'] = devnull_readable
         if 'f' in context.flags:
             toggle_ui = False