[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: curses for windows
- From: Thijs Schreijer <thijs@...>
- Date: Mon, 9 Dec 2013 19:58:58 +0000
> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Mateusz Czaplinski
> Sent: maandag 9 december 2013 13:26
> To: Lua mailing list
> Subject: Re: curses for windows
>
> > On Sat, Dec 7, 2013 at 7:56 PM, Thijs Schreijer
> <thijs@thijsschreijer.nl> wrote:
> > Anyone aware of a working curses binding for Windows?
>
> Um, not a perfect answer to your question, unfortunately, but in case
> problems with curses would end up major obstacle for you:
Well, not decided yet. Just disappointed so far that there seems to be no Windows binding for it (where it did exist once)
>
> - firstly, TextAdept is a Lua-based, MIT-licensed text editor, and quoting
> from its Installation page[1], "The Windows binary includes a precompiled
> version of pdcurses", so you could try to have a look at how it does that.
>
> [1]: http://foicica.com/textadept/02_Installation.html
>
> - secondly, there's a very interesting and cross-platform alternative to
> curses named termbox: https://github.com/nsf/termbox; I had great time
> using its Go port both on Win32 and Linux; unfortunately I can't say much
> about any Lua bindings; quick googling found this:
> https://bitbucket.org/ukaszg/termbox-lua_bindings/src, but no idea in what
> state it is.
Termbox looks nice. Might give that a go, just too bad that it is really simple, no mouse, no windows nor buttons, etc.
Thijs
>
> - finally, I've once created a very very *very* barebones LuaJIT (FFI-
> based, so "pure LuaJIT", aiming to make it simple and that you can quickly
> check if it works for you or not) library for "gotoxy + readkey"
> functionality on Windows, also MIT licensed and available at:
> https://github.com/akavel/thud
>
> /Mateusz Czapliński.