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

Function emit256

win/tty/termcap.c:1577–1584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1575}
1576
1577static void emit256(int color256idx)
1578{
1579 static char tcolorbuf[QBUFSZ];
1580
1581 Snprintf(tcolorbuf, sizeof tcolorbuf, tcfmtstr256,
1582 color256idx);
1583 xputs(tcolorbuf);
1584}
1585
1586void
1587term_start_extracolor(uint32 customcolor, uint16 color256idx)

Callers 1

term_start_extracolorFunction · 0.85

Calls 1

xputsFunction · 0.70

Tested by

no test coverage detected