aboutsummaryrefslogtreecommitdiffstats
path: root/src/pty.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-24 04:40:02 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-24 04:40:02 -0500
commitcc06e4fc8557f9c277c3875ca550ea2d567e8599 (patch)
treea6382023eee4681645e7f6fbc66312d0f470d13c /src/pty.rs
parent27aa8c71d7946c3a11f76c7493afb9d827ada4bd (diff)
downloadpty-process-cc06e4fc8557f9c277c3875ca550ea2d567e8599.tar.gz
pty-process-cc06e4fc8557f9c277c3875ca550ea2d567e8599.zip
make the tokio pty backend actually work properly
Diffstat (limited to 'src/pty.rs')
-rw-r--r--src/pty.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pty.rs b/src/pty.rs
index 07d6b2c..986b216 100644
--- a/src/pty.rs
+++ b/src/pty.rs
@@ -16,6 +16,7 @@ pub trait Pty {
where
Self: Sized;
fn pt(&self) -> &Self::Pt;
+ fn pt_mut(&mut self) -> &mut Self::Pt;
fn pts(&self) -> Result<::std::fs::File>;
fn resize(&self, size: &super::Size) -> Result<()>;
}