(&mut self, text: &str)
| 93 | } |
| 94 | |
| 95 | fn print(&mut self, text: &str) -> io::Result<()> { |
| 96 | let text = remove_control_chars(text); |
| 97 | |
| 98 | let stdout = io::stdout(); |
| 99 | let mut stdout = stdout.lock(); |
| 100 | stdout.write_all(text.as_bytes())?; |
| 101 | stdout.write_all(b"\n")?; |
| 102 | Ok(()) |
| 103 | } |
| 104 | |
| 105 | async fn poll_key(&mut self) -> io::Result<Option<Key>> { |
| 106 | Ok(None) |
nothing calls this directly
no test coverage detected