From 6891ddc45b2cac79fdf51546b35167fe9fa0baa0 Mon Sep 17 00:00:00 2001 From: Adrià Farrés <14farresa@gmail.com> Date: Sun, 18 Mar 2018 02:39:27 +0100 Subject: Add delay after opening (quickly_executed) a file This is analogous to 6cae0ed but with files, not directories. --- ranger/config/commands.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit 1.4.1-2-gfad0