Slide 16
Slide 16 text
use pty;
use pty_shell::{PtyProxy, PtyHandler};
struct MyHandler;
impl PtyHandler for MyHandler {
fn input(&mut self, input: Vec) {
// do something with input
}
fn output(&mut self, output: Vec) {
// do something with output
}
}