aboutsummaryrefslogtreecommitdiff
path: root/src/terminal/mod.rs
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/terminal/mod.rs
parentca579c402d5668560ca13059f82c03178be18b2a (diff)
refactor: separate server client boundaries
Diffstat (limited to 'src/terminal/mod.rs')
-rw-r--r--src/terminal/mod.rs11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/terminal/mod.rs b/src/terminal/mod.rs
index 5f9bb41b..588d5d76 100644
--- a/src/terminal/mod.rs
+++ b/src/terminal/mod.rs
@@ -1,13 +1,10 @@
mod id;
+mod runtime;
+mod runtime_registry;
pub mod state;
pub use id::TerminalId;
+pub use runtime::TerminalRuntime;
+pub(crate) use runtime_registry::TerminalRuntimeRegistry;
pub(crate) use state::stabilize_agent_state;
pub use state::{EffectiveStateChange, TerminalState};
-
-/// Live runtime for a server-owned terminal.
-///
-/// The implementation still lives in the pane module during this migration, but
-/// all new ownership should address it by `TerminalId` through this terminal
-/// noun.
-pub type TerminalRuntime = crate::pane::PaneRuntime;