summaryrefslogtreecommitdiffstats
path: root/src/canvas/canvas_colours
diff options
context:
space:
mode:
authorClementTsang <clementjhtsang@gmail.com>2020-02-19 22:21:18 -0500
committerClementTsang <clementjhtsang@gmail.com>2020-02-19 22:21:18 -0500
commitc377278974bbf14913ad6bcf996b6c30f1c824e8 (patch)
treeb05a2da8e2931c324a1c4aad26cb1f8fb3ddc25b /src/canvas/canvas_colours
parentc4cd43968eac70978a324029904fe0ba0713d9ff (diff)
[skip travis] Update documentation.
Diffstat (limited to 'src/canvas/canvas_colours')
-rw-r--r--src/canvas/canvas_colours/colour_utils.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/canvas/canvas_colours/colour_utils.rs b/src/canvas/canvas_colours/colour_utils.rs
index a3bc7023..10ae2857 100644
--- a/src/canvas/canvas_colours/colour_utils.rs
+++ b/src/canvas/canvas_colours/colour_utils.rs
@@ -31,6 +31,9 @@ pub fn gen_n_styles(num_to_gen: i32) -> Vec<Style> {
}
// Generate colours
+ // Why do we need so many colours? Because macOS default terminal
+ // throws a tantrum if you don't give it supported colours, but so
+ // does PowerShell with some colours (Magenta and Yellow)!
let mut colour_vec: Vec<Style> = vec![
Style::default().fg(Color::LightMagenta),
Style::default().fg(Color::LightYellow),