- if (attr & CRT_ATTR_REVERSE)
- {
- ansi_write (a, "\033[7m", 4);
- }
- else
- {
- ansi_write (a, "\033[27m", 5);
- }
+ ansi_write (a, "\033[24m", 5);
+ }
+ }
+ if (dif & CRT_ATTR_REVERSE)
+ {
+ if (attr & CRT_ATTR_REVERSE)
+ {
+ ansi_write (a, "\033[7m", 4);