lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 29 September 2012 11:02, 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.

I think there are a couple, I can't remember where/which. In case
you're interested we have our own small module for it in Prosody:
http://prosody.im/tip/util/termcolours.lua

Regards,
Matthew