yazi_core/tab/commands/
forward.rs

1
2
3
4
5
6
7
8
9
use yazi_shared::event::CmdCow;

use crate::tab::Tab;

impl Tab {
	pub fn forward(&mut self, _: CmdCow) {
		self.backstack.shift_forward().cloned().map(|u| self.cd(u));
	}
}