diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-02-23 00:17:01 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-02-23 00:17:01 -0500 |
commit | f3e8046eff473aa9bf940b7fbd156cf3dfbfa352 (patch) | |
tree | a6b3ed53e89556cd801a49a0619ba37e4c397be6 /examples | |
parent | acb3681ee251599af194c8555344edc65750ef14 (diff) | |
download | pty-process-f3e8046eff473aa9bf940b7fbd156cf3dfbfa352.tar.gz pty-process-f3e8046eff473aa9bf940b7fbd156cf3dfbfa352.zip |
also create separate pty structs per backend
for now, they are identical, but i will change them to be specialized
next
Diffstat (limited to 'examples')
-rw-r--r-- | examples/basic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.rs b/examples/basic.rs index d7f99d0..bc9389c 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -35,7 +35,7 @@ impl Drop for RawGuard { } } -fn run(child: &pty_process::Child<std::process::Child>) { +fn run(child: &pty_process::std::Child) { let _raw = RawGuard::new(); let mut buf = [0_u8; 4096]; let pty = child.pty().as_raw_fd(); |