MCPcopy Index your code
hub / github.com/endbasic/endbasic / color

Method color

std/src/console/pager.rs:68–70  ·  view source on GitHub ↗

Gets the console's current foreground and background colors.

(&self)

Source from the content-addressed store, hash-verified

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 ///

Callers 3

describeMethod · 0.45
summaryMethod · 0.45
draw_logoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected