Switch blue color to cyan for better contrast on dark terminals.

This commit is contained in:
Jim Weirich
2010-09-27 10:37:35 -04:00
parent f56117c0ca
commit b2c47e0c0f

View File

@@ -162,7 +162,7 @@ module EdgeCase
print Color.green('.'*happy_steps) print Color.green('.'*happy_steps)
if failed? if failed?
print Color.red('X') print Color.red('X')
print Color.blue('_'*(bar_width-1-happy_steps)) print Color.cyan('_'*(bar_width-1-happy_steps))
end end
print Color.green(']') print Color.green(']')
print " #{pass_count}/#{total_tests}" print " #{pass_count}/#{total_tests}"
@@ -211,13 +211,13 @@ ENDTEXT
def encourage def encourage
puts puts
puts "The Master says:" 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) 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 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 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
end end
@@ -242,7 +242,7 @@ ENDTEXT
first_line = false first_line = false
Color.red(t) Color.red(t)
else else
Color.blue(t) Color.cyan(t)
end end
} }
end end