Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1430
void
1431
term_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
1441
void
1442
term_end_attr(int attr)
Callers
6
set_item_state
Function · 0.70
toggle_menu_attr
Function · 0.70
process_text_window
Function · 0.70
tty_putstr
Function · 0.70
tty_print_glyph
Function · 0.70
render_status
Function · 0.70
Calls
2
s_atr2str
Function · 0.85
xputs
Function · 0.70
Tested by
no test coverage detected