diff options
author | Adrià Farrés <14farresa@gmail.com> | 2018-03-18 02:39:27 +0100 |
---|---|---|
committer | Adrià Farrés <14farresa@gmail.com> | 2018-03-18 02:44:37 +0100 |
commit | 6891ddc45b2cac79fdf51546b35167fe9fa0baa0 (patch) | |
tree | c576da9d5cec6cb41bd0c621b23da3cb34c1eba9 /ranger | |
parent | f855979587bd918f0d32c0caba79ab4b4aa531cf (diff) | |
download | ranger-6891ddc45b2cac79fdf51546b35167fe9fa0baa0.tar.gz |
Add delay after opening (quickly_executed) a file
This is analogous to 6cae0ed but with files, not directories.
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 a3837d8e..97c42d74 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1393,6 +1393,8 @@ class scout(Command): self.fm.cd(pattern) else: self.fm.move(right=1) + if self.quickly_executed: + self.fm.block_input(0.5) if self.KEEP_OPEN in flags and thisdir != self.fm.thisdir: # reopen the console: |