diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-17 01:41:16 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-17 01:41:16 +0300 |
| commit | a36da363f14639085bec91d7a378d6c2eeaa6c58 (patch) | |
| tree | 2c86155b115f8c79db2b8826fd8b2199d153f7bf /src/terminal/mod.rs | |
| parent | e4de58b37f58d59d146158239ed218a8accd5c3c (diff) | |
refactor: extract terminal state and runtime from panes
Diffstat (limited to 'src/terminal/mod.rs')
| -rw-r--r-- | src/terminal/mod.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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; |
