summaryrefslogtreecommitdiff
path: root/src/terminal/runtime.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-01 23:31:53 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-01 23:32:44 +0300
commit36a4608603a82dbf32ec8a013dd47047cf02c6a3 (patch)
tree8a9242974ad45dd6dc22b66f576dd9adcc36d996 /src/terminal/runtime.rs
parent5bd21b7ed468b5ff4d1a5b2ed7e211f401eb138a (diff)
fix: restore agents through pane shells
Diffstat (limited to 'src/terminal/runtime.rs')
-rw-r--r--src/terminal/runtime.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs
index c7bb8810..0fefe037 100644
--- a/src/terminal/runtime.rs
+++ b/src/terminal/runtime.rs
@@ -189,33 +189,6 @@ impl TerminalRuntime {
.map(Self)
}
- pub fn spawn_agent_restore(
- pane_id: PaneId,
- rows: u16,
- cols: u16,
- cwd: std::path::PathBuf,
- launch: crate::agent_resume::AgentResumeLaunch<'_>,
- scrollback_limit_bytes: usize,
- host_terminal_theme: crate::terminal_theme::TerminalTheme,
- events: mpsc::Sender<AppEvent>,
- render_notify: Arc<Notify>,
- render_dirty: Arc<AtomicBool>,
- ) -> std::io::Result<Self> {
- crate::pane::PaneRuntime::spawn_agent_restore(
- pane_id,
- rows,
- cols,
- cwd,
- launch,
- scrollback_limit_bytes,
- host_terminal_theme,
- events,
- render_notify,
- render_dirty,
- )
- .map(Self)
- }
-
pub fn apply_host_terminal_theme(&self, theme: crate::terminal_theme::TerminalTheme) {
self.0.apply_host_terminal_theme(theme);
}