diff options
author | Ben S <ogham@bsago.me> | 2014-06-30 02:06:07 +0100 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2014-06-30 02:06:07 +0100 |
commit | 178e24552dec6aaee90322f81ccba5c24f2a5142 (patch) | |
tree | 2241a5200e7d854eb6cc3d3a9dd098144527d0b5 /src/colours.rs | |
parent | 44628ba6e2fdef5c7dbf3864cc8abb4222043c43 (diff) |
Move comment
Diffstat (limited to 'src/colours.rs')
-rw-r--r-- | src/colours.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/colours.rs b/src/colours.rs index edd4305..d78b188 100644 --- a/src/colours.rs +++ b/src/colours.rs @@ -5,9 +5,7 @@ // Bear in mind that the first eight (and their bold variants) are // user-definable and can look different on different terminals, but -// the other 256 have their values fixed. Prefer using a fixed grey, -// such as Fixed(244), to bold black, as bold black looks really weird -// on some terminals. +// the other 256 have their values fixed. pub enum Colour { Black, Red, Green, Yellow, Blue, Purple, Cyan, White, Fixed(u8), @@ -46,6 +44,9 @@ impl Colour { } } +// Prefer using a fixed grey, such as Fixed(244), to bold black, as +// bold black looks really weird on some terminals. + pub static Grey: Colour = Fixed(244); // There are only three different styles: plain (no formatting), only |