aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command.rs b/src/command.rs
index e908a06..2f68786 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -88,6 +88,10 @@ where
self.pty.pt()
}
+ pub fn pty_mut(&mut self) -> &mut P::Pt {
+ self.pty.pt_mut()
+ }
+
pub fn pty_resize(&self, size: &crate::pty::Size) -> Result<()> {
self.pty.resize(size)
}