Browse Source

* Remove white and yellow colors for letters

tags/v0.99.beta17
Nicolas Vion nico 16 years ago
parent
commit
28a91b7d51
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca-php/examples/www/figlet.php

+ 1
- 1
caca-php/examples/www/figlet.php View File

@@ -44,7 +44,7 @@ function show_figlet($str, $font) {
$chars = unistr_to_ords($str); $chars = unistr_to_ords($str);
$color = 0; $color = 0;
foreach ($chars as $c) { foreach ($chars as $c) {
caca_set_color_ansi($cv, 1 + (($color += 4) % 15), CACA_WHITE);
caca_set_color_ansi($cv, 1 + (($color += 1) % 13), CACA_WHITE);
caca_put_figchar($cv, $c); caca_put_figchar($cv, $c);
} }




Loading…
Cancel
Save