1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Output the raw values, not names.

This commit is contained in:
Rob Rix 2015-11-02 18:03:49 -05:00
parent c89aa9c16f
commit 74714da9d7

View File

@ -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
}
}