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

Function term_end_attr

win/tty/termcap.c:1441–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1439}
1440
1441void
1442term_end_attr(int attr)
1443{
1444 if (attr) {
1445 const char *astr = e_atr2str(attr);
1446
1447 if (astr && *astr)
1448 xputs(astr);
1449 }
1450}
1451
1452/* this is called 'start bold' but HI is derived from SO (standout) rather
1453 than from MD (start bold attribute) */

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

e_atr2strFunction · 0.85
xputsFunction · 0.70

Tested by

no test coverage detected