about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorAdrià Farrés <14farresa@gmail.com>2018-03-18 02:39:27 +0100
committerAdrià Farrés <14farresa@gmail.com>2018-03-18 02:44:37 +0100
commit6891ddc45b2cac79fdf51546b35167fe9fa0baa0 (patch)
treec576da9d5cec6cb41bd0c621b23da3cb34c1eba9 /ranger
parentf855979587bd918f0d32c0caba79ab4b4aa531cf (diff)
downloadranger-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-xranger/config/commands.py2
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: