… | |
… | |
458 | rs[Rs_color + i] = def_colorName[i]; |
458 | rs[Rs_color + i] = def_colorName[i]; |
459 | |
459 | |
460 | #ifndef XTERM_REVERSE_VIDEO |
460 | #ifndef XTERM_REVERSE_VIDEO |
461 | /* this is how we implement reverseVideo */ |
461 | /* this is how we implement reverseVideo */ |
462 | if (options & Opt_reverseVideo) |
462 | if (options & Opt_reverseVideo) |
463 | SWAP_IT (rs[Rs_color + Color_fg], rs[Rs_color + Color_bg], const char *); |
463 | ::swap (rs[Rs_color + Color_fg], rs[Rs_color + Color_bg]); |
464 | #endif |
464 | #endif |
465 | |
465 | |
466 | /* convenient aliases for setting fg/bg to colors */ |
466 | /* convenient aliases for setting fg/bg to colors */ |
467 | color_aliases (Color_fg); |
467 | color_aliases (Color_fg); |
468 | color_aliases (Color_bg); |
468 | color_aliases (Color_bg); |