Move comment

This commit is contained in:
Ben S 2014-06-30 02:06:07 +01:00
parent 44628ba6e2
commit 178e24552d

View File

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