mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Output the raw values, not names.
This commit is contained in:
parent
c89aa9c16f
commit
74714da9d7
@ -47,7 +47,7 @@ private struct Attribute {
|
||||
|
||||
func wrap(string: String) -> String {
|
||||
return shouldFormat
|
||||
? "\u{001B}[\(style);\(colour)m\(string)\u{001B}[0m"
|
||||
? "\u{001B}[\(style.rawValue);\(colour.rawValue)m\(string)\u{001B}[0m"
|
||||
: string
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user