Gets the console's current foreground and background colors.
(&self)
| 66 | |
| 67 | /// Gets the console's current foreground and background colors. |
| 68 | pub(crate) fn color(&self) -> (Option<u8>, Option<u8>) { |
| 69 | self.console.color() |
| 70 | } |
| 71 | |
| 72 | /// Sets the console's foreground and background colors to `fg` and `bg`. |
| 73 | /// |