On Tue, Jul 22, 2014 at 1:54 PM, Gour <[email protected]> wrote:
> Well, Fossil spoils one with simplicity & power. ;)
>
Indeed, it has been trivial so far:
[stephan@host:~/cvs/fossil/cwal/s2]$ cat tb.s2
const tb = s2.loadModule2('mod_termbox').termbox;
tb.init();
s2.time.sleep(3);
tb.shutdown();
[stephan@host:~/cvs/fossil/cwal/s2]$ ./s2sh tb.s2
[stephan@host:~/cvs/fossil/cwal/s2]$
That blanks the screen, sleeps 3 seconds, then returns the terminal to
normal. It took all of about 12 minutes to implement, 2 of which was
writing Makefile code and 3 of which was filing a termbox bug:
http://code.google.com/p/termbox/issues/detail?id=7
Still 10 functions left to bind.
My query regarding curses is officially closed. Termbox is much more
interesting :).
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users