瀏覽代碼

* Remove white and yellow colors for letters

tags/v0.99.beta17
Nicolas Vion nico 16 年之前
父節點
當前提交
28a91b7d51
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      caca-php/examples/www/figlet.php

+ 1
- 1
caca-php/examples/www/figlet.php 查看文件

@@ -44,7 +44,7 @@ function show_figlet($str, $font) {
$chars = unistr_to_ords($str);
$color = 0;
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);
}



Loading…
取消
儲存