Bläddra i källkod

Comment out invert/inverse color, not supported.

Steve Thielemann 3 år sedan
förälder
incheckning
3dc173b60d
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      door/color.go

+ 4 - 2
door/color.go

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