aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/term.rs b/src/term.rs
index cbd537a..c8e795f 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -20,14 +20,6 @@ impl Size {
Ok(Self { rows, cols })
}
- pub fn resize_pty<T: tokio_pty_process::PtyMaster>(
- &self,
- pty: &T,
- ) -> futures::Poll<(), Error> {
- pty.resize(self.rows, self.cols)
- .context(crate::error::ResizePty)
- }
-
pub fn fits_in(&self, other: &Self) -> bool {
self.rows <= other.rows && self.cols <= other.cols
}