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

Function term_start_attr

win/tty/termcap.c:1430–1439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1428}
1429
1430void
1431term_start_attr(int attr)
1432{
1433 if (attr) {
1434 const char *astr = s_atr2str(attr);
1435
1436 if (astr && *astr)
1437 xputs(astr);
1438 }
1439}
1440
1441void
1442term_end_attr(int attr)

Callers 6

set_item_stateFunction · 0.70
toggle_menu_attrFunction · 0.70
process_text_windowFunction · 0.70
tty_putstrFunction · 0.70
tty_print_glyphFunction · 0.70
render_statusFunction · 0.70

Calls 2

s_atr2strFunction · 0.85
xputsFunction · 0.70

Tested by

no test coverage detected