MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / foreground

Method foreground

libraries/ANSI/ansi.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73void ANSI::foreground(uint8_t fgcolor)
74{
75 if (fgcolor < 16) {
76 this->color4(fg_normal, fgcolor);
77 } else {
78 this->color8(fg_normal, fgcolor);
79 }
80}
81
82
83void ANSI::background(uint8_t bgcolor)

Callers

nothing calls this directly

Calls 2

color4Method · 0.95
color8Method · 0.95

Tested by

no test coverage detected