[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is there a colour output module in Lua?
- From: Rob Hoelz <rob@...>
- Date: Sat, 29 Sep 2012 20:58:13 +0200
On Sat, 29 Sep 2012 18:02:26 +0800
Xavier Wang <weasley.wx@gmail.com> wrote:
> Hi list,
>
> I'm interesting in lua-repl. I think it can output colour text in a
> console. it can be done in windows with win32 api and linux with
> terminal-special-keys. But I'm wondering whether a cross-platform
> module to do colour output in lua like Color::Output[1] in Perl.
>
> And if it not present, I think I can write one, so which API do you
> like is better?
>
> Regards,
> Xavier Wang.
>
> [1]: http://search.cpan.org/~animator/Color-Output-1.05/Output.pm
Hi Xavier,
I've written a module for this purpose:
http://github.com/hoelzro/lua-term
It doesn't support Windows (yet), but I would like it to eventually.
-Rob
Attachment:
signature.asc
Description: PGP signature