(&mut self, how: ClearType)
| 81 | #[async_trait(?Send)] |
| 82 | impl Console for SdlConsole { |
| 83 | fn clear(&mut self, how: ClearType) -> io::Result<()> { |
| 84 | self.call(Request::Clear(how)) |
| 85 | } |
| 86 | |
| 87 | fn color(&self) -> (Option<u8>, Option<u8>) { |
| 88 | (self.fg_color, self.bg_color) |