| 1662 | } |
| 1663 | |
| 1664 | void |
| 1665 | term_start_attr(int attrib) |
| 1666 | { |
| 1667 | #ifdef VIRTUAL_TERMINAL_SEQUENCES |
| 1668 | switch (attrib) { |
| 1669 | case ATR_INVERSE: |
| 1670 | console.attr |= atr_inverse; |
| 1671 | break; |
| 1672 | case ATR_ULINE: |
| 1673 | console.attr |= atr_uline; |
| 1674 | break; |
| 1675 | case ATR_BLINK: |
| 1676 | console.attr |= atr_blink; |
| 1677 | break; |
| 1678 | case ATR_BOLD: |
| 1679 | console.attr |= atr_bold; |
| 1680 | break; |
| 1681 | } |
| 1682 | #endif /* VIRTUAL_TERMINAL_SEQUENCES */ |
| 1683 | console.current_nhattr[attrib] = TRUE; |
| 1684 | if (attrib) console.current_nhattr[ATR_NONE] = FALSE; |
| 1685 | } |
| 1686 | |
| 1687 | void |
| 1688 | term_end_attr(int attrib) |
no outgoing calls
no test coverage detected