Sets whether the mock console is interactive or not.
(&mut self, interactive: bool)
| 214 | |
| 215 | /// Sets whether the mock console is interactive or not. |
| 216 | pub fn set_interactive(&mut self, interactive: bool) { |
| 217 | self.interactive = interactive; |
| 218 | } |
| 219 | |
| 220 | /// Sets the color to return from `peek_pixel` at the given location. |
| 221 | pub fn set_peek_pixel(&mut self, xy: PixelsXY, color: Option<u8>) { |
no outgoing calls
no test coverage detected