MCPcopy Create free account
hub / github.com/NetHack/NetHack / term_start_color

Function term_start_color

sys/windows/consoletty.c:1735–1745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1733}
1734
1735void
1736term_start_color(int color)
1737{
1738 if (color == NO_COLOR) {
1739 term_end_color();
1740 } else if (color >= 0 && color < CLR_MAX) {
1741 console.current_nhcolor = color;
1742 } else {
1743 console.current_nhcolor = NO_COLOR;
1744 }
1745}
1746
1747void
1748term_start_bgcolor(int color)

Callers 1

consoletty.cFile · 0.70

Calls 1

term_end_colorFunction · 0.70

Tested by

no test coverage detected