Commits

Trammell Hudson  committed 3bc7b07 Draft

Use mode 7 for inverse video; should add underline and others

  • Participants
  • Parent commits 48697cf

Comments (0)

Files changed (1)

 			// <ESC>[{arg};{arg}m == set attributes
 			// 0 == clear
 			// no others are supported
-			if (arg1 == 0)
+			if (arg2 == 7)
+				vt100_inverse = 0x80;
+			else // if (arg1 == 0)
 				vt100_inverse = 0;
-			if (arg2 != 0)
-				vt100_inverse = 0x80;
 		}
 	} else
 	if (vt100_state == 10)