Trait PtyWriter

Source
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.

Required Methods§

Source

fn write(&mut self, text: String)

Write text on the terminal in response to an ANSI request.

Implementors§