From a36da363f14639085bec91d7a378d6c2eeaa6c58 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 17 May 2026 01:41:16 +0300 Subject: refactor: extract terminal state and runtime from panes --- src/terminal/mod.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/terminal/mod.rs') diff --git a/src/terminal/mod.rs b/src/terminal/mod.rs index 489f7876..5f9bb41b 100644 --- a/src/terminal/mod.rs +++ b/src/terminal/mod.rs @@ -1,3 +1,13 @@ mod id; +pub mod state; pub use id::TerminalId; +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; -- cgit v1.2.3