From b2c47e0c0f8156e7bb4dea0504a8faf6a5d8925c Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Mon, 27 Sep 2010 10:37:35 -0400 Subject: [PATCH] Switch blue color to cyan for better contrast on dark terminals. --- koans/edgecase.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koans/edgecase.rb b/koans/edgecase.rb index 96617f9..6ee835e 100644 --- a/koans/edgecase.rb +++ b/koans/edgecase.rb @@ -162,7 +162,7 @@ module EdgeCase print Color.green('.'*happy_steps) if failed? print Color.red('X') - print Color.blue('_'*(bar_width-1-happy_steps)) + print Color.cyan('_'*(bar_width-1-happy_steps)) end print Color.green(']') print " #{pass_count}/#{total_tests}" @@ -211,13 +211,13 @@ ENDTEXT def encourage puts puts "The Master says:" - puts Color.blue(" You have not yet reached enlightenment.") + puts Color.cyan(" You have not yet reached enlightenment.") if ((recents = progress.last(5)) && recents.size == 5 && recents.uniq.size == 1) - puts Color.blue(" I sense frustration. Do not be afraid to ask for help.") + puts Color.cyan(" I sense frustration. Do not be afraid to ask for help.") elsif progress.last(2).size == 2 && progress.last(2).uniq.size == 1 - puts Color.blue(" Do not lose hope.") + puts Color.cyan(" Do not lose hope.") elsif progress.last.to_i > 0 - puts Color.blue(" You are progressing. Excellent. #{progress.last} completed.") + puts Color.cyan(" You are progressing. Excellent. #{progress.last} completed.") end end @@ -242,7 +242,7 @@ ENDTEXT first_line = false Color.red(t) else - Color.blue(t) + Color.cyan(t) end } end