diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-02-24 04:40:02 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-02-24 04:40:02 -0500 |
commit | cc06e4fc8557f9c277c3875ca550ea2d567e8599 (patch) | |
tree | a6382023eee4681645e7f6fbc66312d0f470d13c /src/command.rs | |
parent | 27aa8c71d7946c3a11f76c7493afb9d827ada4bd (diff) | |
download | pty-process-cc06e4fc8557f9c277c3875ca550ea2d567e8599.tar.gz pty-process-cc06e4fc8557f9c277c3875ca550ea2d567e8599.zip |
make the tokio pty backend actually work properly
Diffstat (limited to 'src/command.rs')
-rw-r--r-- | src/command.rs | 4 |
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) } |