diff options
Diffstat (limited to 'src/terminal/runtime.rs')
| -rw-r--r-- | src/terminal/runtime.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index 5d1ce1d7..727e9929 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -197,6 +197,21 @@ impl TerminalRuntime { self.0.begin_graceful_release(agent); } + pub fn reset_agent_detection(&self) { + self.0.reset_agent_detection(); + } + + #[cfg(test)] + pub(crate) fn agent_detection_reset_notify_for_test( + &self, + ) -> std::sync::Arc<tokio::sync::Notify> { + self.0.agent_detection_reset_notify_for_test() + } + + pub fn set_full_lifecycle_authority_active(&self, active: bool) { + self.0.set_full_lifecycle_authority_active(active); + } + pub fn resize(&self, rows: u16, cols: u16, cell_width_px: u32, cell_height_px: u32) { self.0.resize(rows, cols, cell_width_px, cell_height_px); } @@ -250,6 +265,10 @@ impl TerminalRuntime { self.0.visible_ansi() } + pub fn detection_text(&self) -> String { + self.0.detection_text() + } + pub fn recent_text(&self, lines: usize) -> String { self.0.recent_text(lines) } |
