From 8e980560d70bfb1520d7a27b9695edcd80b497d4 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 14 Oct 2023 09:44:53 +0800 Subject: [PATCH] .. [no ci] --- core/src/manager/tab.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/manager/tab.rs b/core/src/manager/tab.rs index 29c3dba16..ac10be2fd 100644 --- a/core/src/manager/tab.rs +++ b/core/src/manager/tab.rs @@ -510,7 +510,11 @@ impl Tab { } self.show_hidden = state; - self.apply_files_attrs(false) + if self.apply_files_attrs(false) { + emit!(Peek); + return true; + } + false } pub fn apply_files_attrs(&mut self, just_preview: bool) -> bool {