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

Function term_start_color

win/tty/termcap.c:1479–1486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1477}
1478
1479void
1480term_start_color(int color)
1481{
1482 if (color == NO_COLOR)
1483 xputs(nh_HE); /* inline term_end_color() */
1484 else if (color < CLR_MAX && hilites[color] && *hilites[color])
1485 xputs(hilites[color]);
1486}
1487
1488void
1489term_start_bgcolor(int color)

Callers 6

set_item_stateFunction · 0.70
toggle_menu_attrFunction · 0.70
ttyinv_renderFunction · 0.70
tty_refresh_inventoryFunction · 0.70
tty_print_glyphFunction · 0.70
render_statusFunction · 0.70

Calls 1

xputsFunction · 0.70

Tested by

no test coverage detected