Navigation Menu

Skip to content

Commit

Permalink
Fix broken 8 color conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 11, 2012
1 parent 3c22240 commit 71faae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/groonga/tester.rb
Expand Up @@ -1664,7 +1664,7 @@ def escape_sequence(*commands)
else
color_parameter = foreground_p ? 3 : 4
color_parameter += 6 if command[:intensity]
color = COLOR_NAMES[command[:color]]
color = COLOR_NAMES.index(command[:color])
sequence << "#{color_parameter}#{color}"
end
end
Expand Down

0 comments on commit 71faae5

Please sign in to comment.