We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec61a6b + 9388241 commit ea06517Copy full SHA for ea06517
Sources/TSCBasic/TerminalController.swift
@@ -40,7 +40,7 @@ public final class TerminalController {
40
41
case white
42
case black
43
- case grey
+ case gray
44
45
/// Returns the color code which can be prefixed on a string to display it in that color.
46
fileprivate var string: String {
@@ -52,9 +52,12 @@ public final class TerminalController {
52
case .cyan: return "\u{001B}[36m"
53
case .white: return "\u{001B}[37m"
54
case .black: return "\u{001B}[30m"
55
- case .grey: return "\u{001B}[30;1m"
+ case .gray: return "\u{001B}[30;1m"
56
}
57
58
+
59
+ @available(*, deprecated, renamed: "gray")
60
+ public static var grey: Self { .gray }
61
62
63
/// Pointer to output stream to operate on.
0 commit comments