about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorDaniel K <code.danielk@gmail.com>2021-01-23 16:12:33 +0100
committerDaniel K <code.danielk@gmail.com>2021-01-23 16:12:33 +0100
commit11b80d757ff8aa624b2390cfb3df8f12851ffc7e (patch)
treecd8e6a1b9ea351079f1540d8af06113da98a9f6e /ranger
parent6e78bbe39a5a5edecf6021788a63799333fa7e43 (diff)
downloadranger-11b80d757ff8aa624b2390cfb3df8f12851ffc7e.tar.gz
console: Fix empty console when used without position option
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/config/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index ea2ab982..ee149532 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -853,6 +853,8 @@ class console(Command):
                 command = command.replace(separate, '', 1)
             else:
                 position = None
+        else:
+            command = self.rest(1)
         self.fm.open_console(command, position=position)