Also enter symlink dir

This commit is contained in:
Arijit Basu 2023-07-17 22:06:54 +05:30 committed by GitHub
parent 4aeb3dd7c8
commit 54d6d19003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1035,7 +1035,7 @@ impl App {
fn enter(self) -> Result<Self> {
if let Some(node) = self.focused_node() {
if node.is_dir {
if node.is_dir || node.symlink.as_ref().map(|s| s.is_dir).unwrap_or(false) {
let path = node.absolute_path.clone();
self.change_directory(&path, true)
} else {