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

Function term_start_attr

outdated/sys/mac/mttymain.c:418–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void
419term_start_attr(int attr)
420{
421 switch (attr) {
422 case ATR_ULINE:
423 _mt_set_colors(_mt_attrs[1]);
424 break;
425 case ATR_BOLD:
426 _mt_set_colors(_mt_attrs[2]);
427 break;
428 case ATR_BLINK:
429 _mt_set_colors(_mt_attrs[3]);
430 break;
431 case ATR_INVERSE:
432 _mt_set_colors(_mt_attrs[4]);
433 break;
434 default:
435 _mt_set_colors(_mt_attrs[0]);
436 break;
437 }
438}
439
440void
441standoutend(void)

Callers 2

standoutbegFunction · 0.70
term_start_raw_boldFunction · 0.70

Calls 1

_mt_set_colorsFunction · 0.85

Tested by

no test coverage detected