Explorar el Código

Comment out invert/inverse color, not supported.

Steve Thielemann hace 3 años
padre
commit
3dc173b60d
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      door/color.go

+ 4 - 2
door/color.go

@@ -106,8 +106,10 @@ func ColorText(color string) string {
 		case "BLI":
 			result = append(result, 5)
 
-		case "INV":
-			result = append(result, 7)
+		// Invert is't well supported in terminals
+		// case "INV":
+		//	result = append(result, 7)
+
 		default:
 			panic(fmt.Sprintf("ColorText Unknown: [%s] in %s", part, color))
 		}