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/pty/async_io.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pty/async_io.rs') diff --git a/src/pty/async_io.rs b/src/pty/async_io.rs index 3021f7a..7f45050 100644 --- a/src/pty/async_io.rs +++ b/src/pty/async_io.rs @@ -29,6 +29,10 @@ impl super::Pty for Pty { &self.pt } + fn pt_mut(&mut self) -> &mut Self::Pt { + &mut self.pt + } + fn pts(&self) -> Result { let fh = std::fs::OpenOptions::new() .read(true) -- cgit v1.2.3-54-g00ecf