aboutsummaryrefslogtreecommitdiff
path: root/src/workspace
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-21 20:19:54 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-21 20:22:57 +0300
commit866aaf740e10fcfce169aaf81380ea0257fbe272 (patch)
treef815392b7c6b24a7c0de14e655bd635656383813 /src/workspace
parentca579c402d5668560ca13059f82c03178be18b2a (diff)
refactor: separate server client boundaries
Diffstat (limited to 'src/workspace')
-rw-r--r--src/workspace/tab.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workspace/tab.rs b/src/workspace/tab.rs
index 3616b95c..d5ebe00f 100644
--- a/src/workspace/tab.rs
+++ b/src/workspace/tab.rs
@@ -9,7 +9,7 @@ use tokio::sync::{mpsc, Notify};
use crate::events::AppEvent;
use crate::layout::{PaneId, TileLayout};
use crate::pane::PaneState;
-use crate::terminal::{TerminalId, TerminalRuntime, TerminalState};
+use crate::terminal::{TerminalId, TerminalRuntime, TerminalRuntimeRegistry, TerminalState};
pub(crate) type DetachedPane = (PaneId, TerminalId);
@@ -393,7 +393,7 @@ impl Tab {
&self,
pane_id: PaneId,
terminals: &HashMap<TerminalId, TerminalState>,
- terminal_runtimes: &HashMap<TerminalId, TerminalRuntime>,
+ terminal_runtimes: &TerminalRuntimeRegistry,
) -> Option<PathBuf> {
let terminal_id = self.terminal_id(pane_id)?;
terminal_runtimes