mirror of
https://github.com/sayanarijit/xplr.git
synced 2024-09-11 11:05:39 +03:00
Also enter symlink dir
This commit is contained in:
parent
4aeb3dd7c8
commit
54d6d19003
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user