Просмотр исходного кода

Comment out invert/inverse color, not supported.

Steve Thielemann 3 лет назад
Родитель
Сommit
3dc173b60d
1 измененных файлов с 4 добавлено и 2 удалено
  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))
 		}