pub trait PtyWriter {
// Required method
fn write(&mut self, text: String);
}Expand description
A sink for responses sent by the terminal emulator. The terminal emulator sends responses to ANSI requests. Implement this trait to process these responses, e.g., by sending them to the requesting pseudoterminal.