(&mut self, text: &str)
| 635 | } |
| 636 | |
| 637 | fn print(&mut self, text: &str) -> io::Result<()> { |
| 638 | let text = remove_control_chars(text); |
| 639 | |
| 640 | let previous = self.set_sync(false)?; |
| 641 | self.clear_cursor()?; |
| 642 | self.raw_write_wrapped(text)?; |
| 643 | self.open_line()?; |
| 644 | self.draw_cursor()?; |
| 645 | self.set_sync(previous)?; |
| 646 | Ok(()) |
| 647 | } |
| 648 | |
| 649 | async fn poll_key(&mut self) -> io::Result<Option<Key>> { |
| 650 | self.input_ops.poll_key().await |
nothing calls this directly
no test coverage detected