mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-18 22:31:35 +03:00
fix: avoid adding non-regular paths to backstack (#249)
This commit is contained in:
parent
4527044547
commit
f4a8b26a5a
@ -132,7 +132,9 @@ impl Tab {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Backstack
|
// Backstack
|
||||||
self.backstack.push(target.clone());
|
if target.is_regular() {
|
||||||
|
self.backstack.push(target.clone());
|
||||||
|
}
|
||||||
|
|
||||||
emit!(Refresh);
|
emit!(Refresh);
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user