This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
change to allow use with cocoa driver; also, a keypress now stops these demos early
tags/v0.99.beta17
Ben Wiley Sittler
bsittler
16 years ago
parent
a6666c9d2e
commit
c3a51a49bf
2 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
caca-php/examples/dithering.php
+1
-1
caca-php/examples/polyline.php
+ 1
- 1
caca-php/examples/dithering.php
View File
@@ -27,6 +27,6 @@ if (!$display)
caca_dither_bitmap($canvas, 0, 0, caca_get_canvas_width($canvas), caca_get_canvas_height($canvas), $dither, $img);
caca_dither_bitmap($canvas, 0, 0, caca_get_canvas_width($canvas), caca_get_canvas_height($canvas), $dither, $img);
caca_refresh_display($display);
caca_refresh_display($display);
sleep(5
);
caca_get_event($display, CACA_EVENT_KEY_PRESS, 5000000
);
?>
?>
+ 1
- 1
caca-php/examples/polyline.php
View File
@@ -48,6 +48,6 @@ for ($i = 0; $i < 10; $i++) {
caca_put_str($canvas, 1, 1, "Caca forever...");
caca_put_str($canvas, 1, 1, "Caca forever...");
caca_refresh_display($display);
caca_refresh_display($display);
sleep(5
);
caca_get_event($display, CACA_EVENT_KEY_PRESS, 5000000
);
?>
?>
Write
Preview
Loading…
Cancel
Save