Skip to content

A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.

The tab menu has Open in terminal

gelenmedyae1da68875160
diff --git a/crates/rf-app/src/workspace.rs b/crates/rf-app/src/workspace.rs
index 42d7c2f5..13df3317 100644
--- a/crates/rf-app/src/workspace.rs
+++ b/crates/rf-app/src/workspace.rs
@@ -1935,6 +1935,18 @@ impl Workspace {
// the saved sessions: each opens in a new window; a second list removes one
let saved: Vec<String> = cx.global::<crate::settings::Settings>().saved_sessions.iter().map(|s| s.name.clone()).collect();
let mut items = items;
+ // the tab's folder in a terminal, as the tab's own small button does (a Discord request, 2026-12-04: with that button
+ // switched off in Settings there was no way to it from the tab)
+ if let Some(dir) = self.tabs.get(ix).and_then(|t| tab_terminal_dir(t.view().read(cx).location())) {
+ let open = move |_: &mut Window, cx: &mut App| {
+ let dir = dir.clone();
+ cx.background_spawn(async move {
+ let _ = rf_win::shell::open_terminal(&dir);
+ })
+ .detach();
+ };
+ items.insert(3, Item::action(t!("Terminalde aç"), MenuIcon::Lucide(L::SquareTerminal), open));
+ }
if !saved.is_empty() {
let open: Vec<Item> = saved
.iter()