From cc06e4fc8557f9c277c3875ca550ea2d567e8599 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 24 Feb 2021 04:40:02 -0500 Subject: make the tokio pty backend actually work properly --- src/command.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/command.rs') 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) } -- cgit v1.2.3-54-g00ecf