diff options
author | Daniel K <code.danielk@gmail.com> | 2021-01-23 16:12:33 +0100 |
---|---|---|
committer | Daniel K <code.danielk@gmail.com> | 2021-01-23 16:12:33 +0100 |
commit | 11b80d757ff8aa624b2390cfb3df8f12851ffc7e (patch) | |
tree | cd8e6a1b9ea351079f1540d8af06113da98a9f6e /ranger | |
parent | 6e78bbe39a5a5edecf6021788a63799333fa7e43 (diff) | |
download | ranger-11b80d757ff8aa624b2390cfb3df8f12851ffc7e.tar.gz |
console: Fix empty console when used without position option
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/config/commands.py | 2 |
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) |